-
Notifications
You must be signed in to change notification settings - Fork 29
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
can't run code #10
Comments
That's weird. Maybe an issue with dotenv...? Try |
just updated it but i still have this message, that's really weird because code returning this only if token is none but token definitely have a value |
So For good measure, it might be worth running a quick |
okay just solved the problem with token. out of habit, from old attempts, I also inserted the token into the code itself |
and now i have new one :( |
"не является приложением" is meaning "is not an application". I don't know why it's written in Russian |
the bot downloaded the video, entered the channel but did not play anything, then what I sent above was displayed |
Looks like you need To install ffmpeg, check out this guide that someone else linked in #6. |
Hey @yyurodd - just wanted to check how you were going with this issue, did installing ffmpeg fix it? |
I admit that the problem is most likely in me, but I've been trying to make / find a working bot for 5 hours now and I don't understand what the problem is
Traceback (most recent call last):
File "C:\Users\petuk\Documents\stepik\youtubebot.py", line 29, in
bot = commands.Bot(command_prefix=PREFIX, intents=discord.Intents(voice_states=True, guilds=True, guild_messages=True, message_content=True))
File "C:\Users\petuk\Documents\stepik\venv\lib\site-packages\discord\flags.py", line 402, in init
raise TypeError('%r is not a valid flag name.' % key)
TypeError: 'message_content' is not a valid flag name.
The text was updated successfully, but these errors were encountered: