NPCat / bad-apple-bot

the discord bot from this video: https://www.youtube.com/watch?v=PLP9c0Z4Q3Y
362 stars 119 forks source link

bot not seeing !bad apple #31

Open chaodziejg opened 1 year ago

chaodziejg commented 1 year ago

bot not seeing !bad apple

Dysonspheree commented 1 year ago

You need to add Intents because of discord's new security for bots. just select "message content intent" in the developer portal and make these changes to bad apple discord player.py: Create a new variable called intents the set it to discord.Intents.default() then change: client = discord.Client() to client = discord.Client(intents=intents) this worked for me