Browse Source

fixed issue with inputs on selfassign command.

tags/v2.0.0
Roxie Gibson 5 years ago
parent
commit
1598348a6d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roxbot/cogs/selfassign.py

+ 1
- 1
roxbot/cogs/selfassign.py View File

@@ -54,7 +54,7 @@ class SelfAssign():
@commands.guild_only()
@commands.has_permissions(manage_roles=True)
@commands.command(aliases=["sa"])
async def selfassign(self, ctx, setting, *, role: discord.Role):
async def selfassign(self, ctx, setting, *, role: discord.Role = None):
"""Edits settings for self assign cog. Requires Manage Roles permission.

Options:

Loading…
Cancel
Save