Fix missing typecast in store

This commit is contained in:
Stijn De Clercq 2021-02-03 19:32:43 +01:00
parent e847b0e4b3
commit 469d591a29

View file

@ -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: