From 1b77d537be1f34065ca4a4d498969b898ca9f967 Mon Sep 17 00:00:00 2001 From: Valerie Date: Mon, 26 May 2025 20:23:37 -0400 Subject: [PATCH] Remove command prefix check during item creation in ItemManager to streamline the user experience and prevent premature termination of the item creation process. --- shop/shop.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/shop/shop.py b/shop/shop.py index 4fdba1d..681e4b7 100644 --- a/shop/shop.py +++ b/shop/shop.py @@ -1756,10 +1756,6 @@ class ItemManager: await self.ctx.send("Enter a name for this item. It can't be longer than 20 characters.") name = await self.ctx.bot.wait_for("message", timeout=25, check=Checks(self.ctx, length=30).length_under) - if name.content.startswith(self.ctx.prefix): - await self.ctx.send("Closing item creation. Please don't run commands while attempting to create an item.") - return None - if item: async with self.instance.Shops() as shops: shops[shop]["Items"][name.content] = shops[shop]["Items"].pop(item)