Remove intents.default and make intents a required parameter
This commit is contained in:
		| @@ -123,8 +123,11 @@ class Music(commands.Cog): | ||||
|         elif ctx.voice_client.is_playing(): | ||||
|             ctx.voice_client.stop() | ||||
|  | ||||
| bot = commands.Bot(command_prefix=commands.when_mentioned_or("!"), | ||||
|                    description='Relatively simple music bot example') | ||||
| bot = commands.Bot( | ||||
|     command_prefix=commands.when_mentioned_or("!"), | ||||
|     description='Relatively simple music bot example', | ||||
|     intents=discord.Intents(guilds=True, guild_messages=True, voice_states=True) | ||||
| ) | ||||
|  | ||||
| @bot.event | ||||
| async def on_ready(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user