From 469d591a295b3e5842275986314548efef4f6c72 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Wed, 3 Feb 2021 19:32:43 +0100 Subject: [PATCH] Fix missing typecast in store --- cogs/store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/store.py b/cogs/store.py index b9a00fb..cd2f32e 100644 --- a/cogs/store.py +++ b/cogs/store.py @@ -84,7 +84,7 @@ class Store(commands.Cog): item_tuple = item break - if amount.lower() == "all": + if str(amount).lower() == "all": amount = int(item_tuple[2]) if int(item_tuple[2]) < amount: