Discord-RAT icon indicating copy to clipboard operation
Discord-RAT copied to clipboard

[ANSWER] How to fix the INTENTS error

Open 002-sans opened this issue 2 years ago • 3 comments

Line 30:

- client = discord.Client()
- bot = commands.Bot(command_prefix='!')

+ intents = discord.Intents.default()
+ intents.message_content = True
+ client = discord.Client(intents=intents)
+ bot = commands.Bot(intents=intents, command_prefix='!')

002-sans avatar Aug 15 '23 13:08 002-sans

can u help me i works but when i close the cmd it doesnt work anymore

Lbozoisback avatar Apr 26 '24 15:04 Lbozoisback

yea because you must keep the cmd for having the tools or you can buy a host on some website

002-sans avatar Apr 27 '24 22:04 002-sans