Skip to content

Commit

Permalink
Add descriptions and rename role assign
Browse files Browse the repository at this point in the history
  • Loading branch information
ajax146 committed Aug 23, 2023
1 parent ea4615f commit 29d5ca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions techsupport_bot/extensions/role.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class RoleGiver(base.BaseCog):

role_group = app_commands.Group(name="role", description="...")

@role_group.command(name="self")
@role_group.command(name="self", description="Assign or remove roles from yourself")
async def self_role(self, interaction):
"""The base of the self role command
Expand All @@ -72,7 +72,7 @@ async def self_role(self, interaction):
interaction, roles, allowed_to_execute, interaction.user
)

@role_group.command(name="assign")
@role_group.command(name="manage", description="Modify roles on a given user")
async def assign_role(self, interaction, member: discord.Member):
"""The base of the wide assign command
Expand Down

0 comments on commit 29d5ca8

Please sign in to comment.