Skip to content

Commit 456037b

Browse files
authored
fixed syntax
1 parent 8fc2e9b commit 456037b

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
@@ -153,7 +153,7 @@ def help_embed(self):
153153

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

0 commit comments

Comments
 (0)