mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -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:
|
"""Currently used for:
|
||||||
* delete delay"""
|
* delete delay"""
|
||||||
guild = ctx.guild
|
guild = ctx.guild
|
||||||
|
if guild is None:
|
||||||
|
return
|
||||||
message = ctx.message
|
message = ctx.message
|
||||||
delay = await self.settings.guild(guild).delete_delay()
|
delay = await self.settings.guild(guild).delete_delay()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user