diff --git a/moderation/moderation.py b/moderation/moderation.py index 131e4a2..631751d 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -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.