fix(moderation): fixed blacklist autocomplete
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 50s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 50s
This commit is contained in:
parent
d65cb8a2a8
commit
b270e1724d
1 changed files with 1 additions and 1 deletions
|
@ -678,7 +678,7 @@ class Moderation(commands.Cog):
|
|||
return []
|
||||
|
||||
@app_commands.command(name="blacklist")
|
||||
@app_commands.autocomplete(blacklist_autocomplete)
|
||||
@app_commands.autocomplete(role=blacklist_autocomplete)
|
||||
async def blacklist(self, interaction: discord.Interaction, target: discord.Member, role: str, reason: str, silent: bool = None):
|
||||
"""Add a blacklist role to a user.
|
||||
|
||||
|
|
Loading…
Reference in a new issue