From f347832fd6ce59ecf55dfa4681697b72460c8d16 Mon Sep 17 00:00:00 2001 From: tiltowait <208040+tiltowait@users.noreply.github.com> Date: Fri, 14 Mar 2025 16:16:44 -0700 Subject: [PATCH] Fix controls tooltip Now text description instead of T/F. Also change default to anyone. Closes #67 Closes #68 --- src/interface/shared/characters.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/interface/shared/characters.py b/src/interface/shared/characters.py index 1e499d9..e88a463 100644 --- a/src/interface/shared/characters.py +++ b/src/interface/shared/characters.py @@ -78,18 +78,18 @@ async def user_images(self, ctx: AppCtx, member: discord.Member): @option( "controls", description="Who can control the buttons?", - choices=[OptionChoice("Only you", True), OptionChoice("Anyone", False)], - default=True, + choices=[OptionChoice("Anyone", 0), OptionChoice("Only you", 1)], + default=0, ) async def display_images( self, ctx: AppCtx, character: str, - controls: bool, + controls: int, owner: discord.Member, ): """View a character's images.""" - await botchcord.character.images.display(ctx, character, controls, owner=owner) + await botchcord.character.images.display(ctx, character, bool(controls), owner=owner) @images.command(name="upload") @option("image", description="The image file to upload")