소스 검색

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…
취소
저장