Fix syntax errors
This commit is contained in:
parent
e91b774fff
commit
72d91e6bbd
1 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ class RolegiverCog(Scale):
|
|||
component.disabled = True
|
||||
await message.edit(components=components)
|
||||
|
||||
@rolegiver.subcommand(sub_cmd_name="list", description="List rolegiver roles")
|
||||
@rolegiver.subcommand(sub_cmd_name="list", sub_cmd_description="List rolegiver roles")
|
||||
async def _rolegiver_list(self, ctx: InteractionContext) -> None:
|
||||
setting = await Rolegiver.find_one(q(guild=ctx.guild.id))
|
||||
if not setting or (setting and not setting.roles):
|
||||
|
@ -358,7 +358,7 @@ class RolegiverCog(Scale):
|
|||
await message.edit(components=components)
|
||||
|
||||
@rolegiver.subcommand(
|
||||
sub_cmd_name="cleanup", description="Removed deleted roles from rolegiver"
|
||||
sub_cmd_name="cleanup", sub_cmd_description="Removed deleted roles from rolegiver"
|
||||
)
|
||||
@check(admin_or_permissions(Permissions.MANAGE_GUILD))
|
||||
async def _rolegiver_cleanup(self, ctx: InteractionContext) -> None:
|
||||
|
|
Loading…
Add table
Reference in a new issue