indently / discord_bot

18 stars 53 forks source link

wt is going on #2

Open tedy0804 opened 1 year ago

tedy0804 commented 1 year ago
Screenshot 2022-12-21 at 12 26 57

like wtf is going on

N00b1X commented 1 year ago

I've read somewhere that you have to put intents=discord.Intents.default() inside discord.Client(). But when I did, the problem got deeper.

v3stros commented 1 year ago

change line 17 to client = discord.Client(intents=None)

lacho-georgiev commented 1 year ago

Firstly, in discord applications settings -> Bot -> Priviliged Gateway Intents enable MESSAGE CONTENT INTENT

Then change on line 17: intents = discord.Intents.default() intents.message_content = True client = discord.Client(intents=intents)