fixed suggestions

This commit is contained in:
victormylle 2020-11-21 00:26:28 +01:00
parent d3f59679b0
commit b59f122957

View File

@ -11,7 +11,7 @@ class SuggestionMessage(commands.Cog):
@commands.command(name="suggestion")
async def suggestion(self, ctx, *, arg):
if ctx.channel.id in self.channels or isModPlus(ctx):
if str(ctx.channel.id) in self.channels or isModPlus(ctx):
embed = discord.Embed()
embed.set_author(name=ctx.author.display_name)
embed.colour = discord.Colour.orange()