We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33f3112 commit 4cb7919Copy full SHA for 4cb7919
bot.py
@@ -61,7 +61,15 @@
61
62
intents = disnake.Intents.default()
63
64
-bot = Bot(command_prefix=config["prefix"], intents=intents, help_command=None)
+"""
65
+Remove this if you don't want to use prefix (normal) commands.
66
+It is recommended to use slash commands and therefore not use prefix commands.
67
+
68
+If you want to use prefix commands, enable the intent below in the Discord developer portal.
69
70
+intents.message_content = True
71
72
+bot = Bot(command_prefix=commands.when_mentioned_or(config["prefix"]), intents=intents, help_command=None)
73
74
"""
75
Create a bot variable to access the config file in cogs so that you don't need to import it every time.
0 commit comments