瀏覽代碼

fixed issue with inputs on selfassign command.

tags/v2.0.0
Roxie Gibson 5 年之前
父節點
當前提交
1598348a6d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      roxbot/cogs/selfassign.py

+ 1
- 1
roxbot/cogs/selfassign.py 查看文件

@@ -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…
取消
儲存