Another guild bug
This commit is contained in:
parent
a4f8fed4e5
commit
f9388454a5
@ -463,7 +463,7 @@ class Chatter(Cog):
|
|||||||
# Thank you Cog-Creators
|
# Thank you Cog-Creators
|
||||||
channel: discord.TextChannel = message.channel
|
channel: discord.TextChannel = message.channel
|
||||||
|
|
||||||
if channel.id == await self.config.guild(guild).chatchannel():
|
if guild is not None and channel.id == await self.config.guild(guild).chatchannel():
|
||||||
pass # good to go
|
pass # good to go
|
||||||
else:
|
else:
|
||||||
when_mentionables = commands.when_mentioned(self.bot, message)
|
when_mentionables = commands.when_mentioned(self.bot, message)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user