Standardize autocomplete function names.

This commit is contained in:
alwayscompiling
2022-12-07 21:52:36 -05:00
parent 6c5f40f788
commit 91e57c6555
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ class UpdateCog(commands.Cog, name="Update commands."):
await interaction.send("Request sent to admins for verification.", ephemeral=True)
@username.on_autocomplete("old_username")
async def username_autofill(self, interaction: nextcord.Interaction, username: str):
async def all_users_autocomplete(self, interaction: nextcord.Interaction, username: str):
"""
Sends response from autofill_users_in_guild back to update_username for autocompletion of old_username.