mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[V3 Mod] Fix DMs not being handled on_command (#1086)
This commit is contained in:
parent
b348a879c3
commit
b141729830
@ -1116,6 +1116,8 @@ class Mod:
|
||||
"""Currently used for:
|
||||
* delete delay"""
|
||||
guild = ctx.guild
|
||||
if guild is None:
|
||||
return
|
||||
message = ctx.message
|
||||
delay = await self.settings.guild(guild).delete_delay()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user