Переглянути джерело

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:

Завантаження…
Відмінити
Зберегти