diff --git a/cogs/suggestion.py b/cogs/suggestion.py index ee2226a..74ee04c 100644 --- a/cogs/suggestion.py +++ b/cogs/suggestion.py @@ -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()