moom825 / Discord-RAT

Discord Remote Administration Tool fully written in Python3
241 stars 48 forks source link

[ANSWER] How to fix the INTENTS error #55

Open xvyx opened 1 year ago

xvyx commented 1 year ago

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='!')
Lbozoisback commented 5 months ago

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

xvyx commented 5 months ago

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