Skip to content

Commit 72caa33

Browse files
authored
fixed again
1 parent 8bf8b12 commit 72caa33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def help_embed(self):
152152

153153
@commands.command()
154154
@commands.has_permissions(administrator=True)
155-
async def setup(self, ctx, modrole: discord.Role):
155+
async def setup(self, ctx, modrole: discord.Role=None):
156156
'''Sets up a server for modmail'''
157157
if discord.utils.get(ctx.guild.categories, name='modmail'):
158158
return await ctx.send('This server is already set up.')

0 commit comments

Comments
 (0)