Skip to content

Unable to run with different video #19

Description

@Nishant-Byte

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions