mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2025-08-04 12:31:04 +00:00
Allow DM commands
This commit is contained in:
parent
d38b1a8065
commit
0516e6ed4a
|
@ -149,7 +149,7 @@ async def on_message(message):
|
||||||
if message.author.bot:
|
if message.author.bot:
|
||||||
return
|
return
|
||||||
|
|
||||||
if message.guild.id not in config.guild_whitelist:
|
if (message.guild) and (message.guild.id not in config.guild_whitelist):
|
||||||
return
|
return
|
||||||
|
|
||||||
ctx = await bot.get_context(message)
|
ctx = await bot.get_context(message)
|
||||||
|
|
Loading…
Reference in a new issue