Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ANSWER] How to fix the INTENTS error #55

Open
002-sans opened this issue Aug 15, 2023 · 2 comments
Open

[ANSWER] How to fix the INTENTS error #55

002-sans opened this issue Aug 15, 2023 · 2 comments

Comments

@002-sans
Copy link

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
Copy link

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

@002-sans
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants