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.
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.