Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I don't understand... Sorry... #12

Open
MyDepression2324 opened this issue Feb 6, 2021 · 1 comment
Open

I don't understand... Sorry... #12

MyDepression2324 opened this issue Feb 6, 2021 · 1 comment

Comments

@MyDepression2324
Copy link

Can someone like make a video explaining what to do since I'm confused

@1vs9-standart
Copy link

1vs9-standart commented Feb 6, 2021

  1. Download the folder with bad-apple-boot-main
  2. Open the folder with the contents of the bot using Visual Code or any other program
    download via terminal:
    1.pip install python-time
    2.pip install discord.py
    3.pip install pillow
    4.pip install opencv-python
  3. Change to "bad apple discord player.py"
    client.run (' ') # <--- Put your bot token here
    P:S
    Don't forget to download python right away
  4. run "python video to frames.py" wait 1-2 mins (the whole folder will weigh about 200 mb)
  5. Now you need to specify the path to the frame (example)

path = "C:/ Users/Admin/Desktop/bad-apple-bot-main/frame" + str (i * 4) + ". jpg" # <--- path to folder containing every frame of the video

The prefix "frame" at the end is required
6) Run the bot through the python command: "python bad apple discord player.py"
7) Go to discord and write "!bad apple" to any channel
After that the bot starts to draw frames (1 frames in 2 second want fast? change TIMEOUT = 1/((int(CLIP_FRAMES/4)+1)/CLIP_LENGTH)*7)

Possible error:
Unable to find image in frames/frameX.jpg <- Wrong path indicated (check point 5 of the instruction)

I apologize right away for my bad english

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants