Stop looking at DMs

pull/193/head
bobloy 4 years ago
parent 47269ba8f4
commit b752bfd153

@ -643,7 +643,7 @@ class Chatter(Cog):
guild: discord.Guild = getattr(message, "guild", None) guild: discord.Guild = getattr(message, "guild", None)
if await self.bot.cog_disabled_in_guild(self, guild): if guild is None or await self.bot.cog_disabled_in_guild(self, guild):
return return
ctx: commands.Context = await self.bot.get_context(message) ctx: commands.Context = await self.bot.get_context(message)

Loading…
Cancel
Save