fix(moderation): fixed blacklist autocomplete
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 50s

This commit is contained in:
Seaswimmer 2023-12-16 21:19:40 -05:00
parent d65cb8a2a8
commit b270e1724d
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -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.