1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-10-16 05:37:27 +00:00
This commit is contained in:
Steffo 2021-06-01 16:19:22 +02:00 committed by GitHub
parent bcdff61c3a
commit 48c3eb9c48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -804,12 +804,12 @@ class Worker(threading.Thread):
if value > self.Price(self.cfg["Payments"]["CreditCard"]["max_amount"]):
self.bot.send_message(self.chat.id,
self.loc.get("error_payment_amount_over_max",
max_amount=self.Price(self.cfg["Credit Card"]["max_amount"])))
max_amount=self.Price(self.cfg["CreditCard"]["max_amount"])))
continue
elif value < self.Price(self.cfg["Payments"]["CreditCard"]["min_amount"]):
self.bot.send_message(self.chat.id,
self.loc.get("error_payment_amount_under_min",
min_amount=self.Price(self.cfg["Credit Card"]["min_amount"])))
min_amount=self.Price(self.cfg["CreditCard"]["min_amount"])))
continue
break
# If the user cancelled the action...