From f25576fc23ed8d604964f6399cba4c7cca9f1245 Mon Sep 17 00:00:00 2001 From: phixxy Date: Sun, 5 May 2024 00:36:05 -0700 Subject: [PATCH] allow admin to use bot commands in dms --- src/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.py b/src/bot.py index 4740d88..8c00b66 100644 --- a/src/bot.py +++ b/src/bot.py @@ -32,7 +32,7 @@ async def on_ready(): @bot.event async def on_message(ctx): - if ctx.channel.type == discord.ChannelType.private: + if ctx.channel.type == discord.ChannelType.private and ctx.author.id != 242018983241318410: return if ctx.author.bot: return