From b8fe922bd5d1a350959bdecc8f7ae6ec80313d5e Mon Sep 17 00:00:00 2001 From: phixxy Date: Thu, 13 Jul 2023 22:21:26 -0700 Subject: [PATCH] fixed bug in change_model --- sparkytron3000.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sparkytron3000.py b/sparkytron3000.py index e30f01d..db46bd8 100644 --- a/sparkytron3000.py +++ b/sparkytron3000.py @@ -1216,7 +1216,7 @@ async def change_model(ctx, model_choice='0'): await ctx.send(f"Already set to use {model_name}") return else: - modeloptions = '\n'.join([f"{choice}: {name}" for choice, (, name) in model_choices.items()]) + model_options = '\n'.join([f"{choice}: {name}" for choice, name in model_choices.items()]) output += model_options await ctx.send(output)