Fix missing typecast in store

pull/35/head
Stijn De Clercq 2021-02-03 19:32:43 +01:00
parent e847b0e4b3
commit 469d591a29
1 changed files with 1 additions and 1 deletions

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: