mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 10:22:31 -05:00
Fixed an issue with economy transfer
Updated trivia list
This commit is contained in:
@@ -72,6 +72,9 @@ class Economy:
|
||||
if author == user:
|
||||
await self.bot.say("You can't transfer money to yourself.")
|
||||
return
|
||||
if sum < 1:
|
||||
await self.bot.say("You need to transfer at least 1 credit.")
|
||||
return
|
||||
if self.account_check(user.id):
|
||||
if self.enough_money(author.id, sum):
|
||||
self.withdraw_money(author.id, sum)
|
||||
|
||||
Reference in New Issue
Block a user