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