From 20d6bfdc0c9692e57e3f165b53d215e949d79329 Mon Sep 17 00:00:00 2001 From: gsd Date: Wed, 8 Mar 2023 21:32:07 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B7=D0=B0=D0=B5=D0=B0=D0=B1=D0=BB=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 1d8bb4a..4000fc5 100644 --- a/bot.py +++ b/bot.py @@ -27,7 +27,7 @@ class DiscordClient(commands.Bot): self.secret_key = secret_key self.StartUpPreloadStats() ################################################### - super().__init__(intents=discord.Intents.all()) + super().__init__(command_prefix="!", intents=discord.Intents.all()) self.tree = app_commands.CommandTree(self) self.load_extensions(['user_ext', 'admin_ext', 'other_ext']) ###################################################