diff --git a/code/code.py b/code/code.py index f53caf5..ed4a49d 100644 --- a/code/code.py +++ b/code/code.py @@ -258,7 +258,8 @@ async def on_message(message): #add 1 to the uses_count_today #show that the bot is typing await message.channel.trigger_typing() - c.execute("UPDATE data SET uses_count_today = uses_count_today + 1 WHERE guild_id = ?", (message.guild.id,)) + 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 c.execute("SELECT api_key FROM data WHERE guild_id = ?", (message.guild.id,)) api_key = c.fetchone()[0]