From b270e1724dfbe1cf285535f7149573f08a4c3980 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 16 Dec 2023 21:19:40 -0500 Subject: [PATCH] fix(moderation): fixed blacklist autocomplete --- moderation/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.