allow admin to use bot commands in dms

This commit is contained in:
phixxy 2024-05-05 00:36:05 -07:00
parent 15ed8d93c6
commit f25576fc23

View file

@ -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