fix(aurora): addrole should take a role argument

This commit is contained in:
Seaswimmer 2024-02-02 11:32:20 -05:00
parent 018eb5ed28
commit a83a63dd6a
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -304,7 +304,7 @@ class Aurora(commands.Cog):
interaction: discord.Interaction, interaction: discord.Interaction,
target: discord.Member, target: discord.Member,
role: str, role: str,
reason: str, reason: discord.Role,
duration: str = None, duration: str = None,
silent: bool = None, silent: bool = None,
): ):
@ -314,7 +314,7 @@ class Aurora(commands.Cog):
----------- -----------
target: discord.Member target: discord.Member
Who are you adding a role to? Who are you adding a role to?
role: str role: discord.Role
What role are you adding to the target? What role are you adding to the target?
reason: str reason: str
Why are you adding a role to this user? Why are you adding a role to this user?