forked from blizzthewolf/SeaCogs
fix(moderation): fixed blacklist autocomplete
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 []
|
return []
|
||||||
|
|
||||||
@app_commands.command(name="blacklist")
|
@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):
|
async def blacklist(self, interaction: discord.Interaction, target: discord.Member, role: str, reason: str, silent: bool = None):
|
||||||
"""Add a blacklist role to a user.
|
"""Add a blacklist role to a user.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue