From 3d8050d3b9073961cc1c616f10566c54bb191aca Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Tue, 13 Aug 2024 16:08:16 -0400 Subject: [PATCH] fix(aurora): fixed a minor bug with autocomplete --- aurora/aurora.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aurora/aurora.py b/aurora/aurora.py index 3e2afe2..ccc345f 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -817,7 +817,8 @@ class Aurora(commands.Cog): choices.append(app_commands.Choice(name=current+t, value=current+t)) else: for t in types: - choices.append(app_commands.Choice(name=t, value=t)) + if t.startswith(current): + choices.append(app_commands.Choice(name=t, value=t)) return choices[:25] @app_commands.command(name="resolve")