浏览代码

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:

正在加载...
取消
保存