We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55cbba3 commit 6845b09Copy full SHA for 6845b09
1 file changed
src/bot.py
@@ -23,7 +23,7 @@
23
intents.message_content = True
24
intents.guilds = True
25
26
-bot = commands.Bot(command_prefix=None, intents=intents, command_tree_cls=app_commands.CommandTree)
+bot = commands.Bot(command_prefix=lambda bot, message: [], intents=intents, command_tree_cls=app_commands.CommandTree)
27
28
if not DISCORD_BOT_TOKEN:
29
logger.error("DISCORD_BOT_TOKEN is not set in the environment variables")
0 commit comments