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 8bf8b12 commit 72caa33Copy full SHA for 72caa33
bot.py
@@ -152,7 +152,7 @@ def help_embed(self):
152
153
@commands.command()
154
@commands.has_permissions(administrator=True)
155
- async def setup(self, ctx, modrole: discord.Role):
+ async def setup(self, ctx, modrole: discord.Role=None):
156
'''Sets up a server for modmail'''
157
if discord.utils.get(ctx.guild.categories, name='modmail'):
158
return await ctx.send('This server is already set up.')
0 commit comments