From 8b304139da6f743d2e6f759f03cf7598d57f82d7 Mon Sep 17 00:00:00 2001 From: Paillat Date: Tue, 6 Dec 2022 15:06:24 +0100 Subject: [PATCH] Update code.py --- code/code.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/code.py b/code/code.py index 5f96a10..1ec2601 100644 --- a/code/code.py +++ b/code/code.py @@ -313,8 +313,6 @@ async def on_message(message): #add 1 to the uses_count_today #show that the bot is typing await message.channel.trigger_typing() - #defer the message - await message.defer() if message.guild.id != 1021872219888033903: c.execute("UPDATE data SET uses_count_today = uses_count_today + 1 WHERE guild_id = ?", (message.guild.id,)) #get the api key from the database