mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -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:
|
except KeyError:
|
||||||
# We have no delay set
|
# We have no delay set
|
||||||
return
|
return
|
||||||
|
except AttributeError:
|
||||||
|
# DM
|
||||||
|
return
|
||||||
|
|
||||||
if delay == -1:
|
if delay == -1:
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user