mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Mod] Handle DM commands in on_command
This commit is contained in:
parent
d628bacef5
commit
c6fcdd3449
@ -1273,6 +1273,9 @@ class Mod:
|
||||
except KeyError:
|
||||
# We have no delay set
|
||||
return
|
||||
except AttributeError:
|
||||
# DM
|
||||
return
|
||||
|
||||
if delay == -1:
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user