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

Unable to run with different video #19

Open
Nishant-Byte opened this issue Mar 17, 2021 · 1 comment
Open

Unable to run with different video #19

Nishant-Byte opened this issue Mar 17, 2021 · 1 comment

Comments

@Nishant-Byte
Copy link

Nishant-Byte commented Mar 17, 2021

Can u pls tell me how to run it with different video? Also how to find exact length of video?

I tried to put my video's frame and length and this error showed up
:gnoring exception in on_message
Traceback (most recent call last):
File "C:\Users\priti\PycharmProjects\pythonProject3\venv\lib\site-packages\discord\client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "C:\Users\priti\Pictures\bad-apple-bot-main\bad apple discord player.py", line 88, in on_message
await message.channel.send(frames[int(i)])
File "C:\Users\priti\PycharmProjects\pythonProject3\venv\lib\site-packages\discord\abc.py", line 935, in send
data = await state.http.send_message(channel.id, content, tts=tts, embed=embed,
File "C:\Users\priti\PycharmProjects\pythonProject3\venv\lib\site-packages\discord\http.py", line 247, in request
raise HTTPException(r, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In content: Must be 2000 or fewer in length.

@Hlebuw3k
Copy link

Your video is too big in vertical/horizontal. Discord only allows 2000 letters in 1 message, and you are trying to send more than this. Try making WIDTH parameter lower

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