[V3 Mod] Fix DMs not being handled on_command (#1086)

This commit is contained in:
Twentysix
2017-11-17 20:43:49 +01:00
committed by GitHub
parent b348a879c3
commit b141729830

View File

@@ -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()