We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55efe08 commit b7909f2Copy full SHA for b7909f2
bot.py
@@ -148,7 +148,7 @@ async def setup(self, ctx):
148
@commands.command(name='close')
149
@commands.has_permissions(manage_guild=True)
150
async def _close(self, ctx):
151
- if 'User ID:' not in ctx.channel.topic:
+ if 'User ID:' not in str(ctx.channel.topic):
152
return await ctx.send('This is not a modmail thread.')
153
user_id = int(ctx.channel.topic.split(': ')[1])
154
user = self.get_user(user_id)
0 commit comments