From fc784ee648e1c1210a53b26d15c997e3bc14d2ba Mon Sep 17 00:00:00 2001 From: sgoudham Date: Mon, 20 Jul 2020 21:32:32 +0100 Subject: [PATCH] Small Error, not passing in parameter properly --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index bd192829..46a491dc 100644 --- a/main.py +++ b/main.py @@ -113,7 +113,7 @@ async def change_prefix(ctx, new: Optional[str]): if new and len(new) < 5: if len(new) > 1: spaced_prefix = f"{new} " - await storage_prefix_for_guild(ctx, new) + await storage_prefix_for_guild(ctx, spaced_prefix) else: # Store the new prefix in the dictionary and update the database await storage_prefix_for_guild(ctx, new)