allow admin to use bot commands in dms
This commit is contained in:
parent
15ed8d93c6
commit
f25576fc23
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue