Fixed an issue with economy transfer

Updated trivia list
This commit is contained in:
Twentysix 2016-02-25 16:07:48 +01:00
parent d2f182fe0d
commit dcdfd2cee2
2 changed files with 16 additions and 2 deletions

View File

@ -72,6 +72,9 @@ class Economy:
if author == user: if author == user:
await self.bot.say("You can't transfer money to yourself.") await self.bot.say("You can't transfer money to yourself.")
return 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.account_check(user.id):
if self.enough_money(author.id, sum): if self.enough_money(author.id, sum):
self.withdraw_money(author.id, sum) self.withdraw_money(author.id, sum)

View File

@ -543,7 +543,6 @@ Where does Udyr live?`Freljord
Which character cannot max out all of their skills?`Udyr Which character cannot max out all of their skills?`Udyr
Who brought Udyr to Ionia to calm his rage and meet the animal spirits that he uses?`Lee Sin`leesin Who brought Udyr to Ionia to calm his rage and meet the animal spirits that he uses?`Lee Sin`leesin
Who cut Urgot in half?`Garen Who cut Urgot in half?`Garen
Who has the shortest autoattack range of all champions that are classified as ranged?`Urgot
Whose dance is a reference to Kirby's victory dance?`Urgot Whose dance is a reference to Kirby's victory dance?`Urgot
Who was Urf's Corpse sold to?`Butcher Urgot`Urgot Who was Urf's Corpse sold to?`Butcher Urgot`Urgot
When Urgot was a soldier, who was his commanding officer?`Sion When Urgot was a soldier, who was his commanding officer?`Sion
@ -657,4 +656,16 @@ What is the name of the hermit shopkeeper on the Howling Abyss (hint: named afte
What is the name of the Viking ghost shopkeeper on the Howling Abyss?`Greyor What is the name of the Viking ghost shopkeeper on the Howling Abyss?`Greyor
Who bound the Viking's ghost to the Howling Abyss?`Avarosa Who bound the Viking's ghost to the Howling Abyss?`Avarosa
What is the name of the flying robot owned by the Hermit on the Howling Abyss (hint:named after a Rioter)?`Geeves What is the name of the flying robot owned by the Hermit on the Howling Abyss (hint:named after a Rioter)?`Geeves
What is the capital city of Freljord?`Rakelstake What is the capital city of Freljord?`Rakelstake
What type of minions deal no damage to Nexuses on the Howling Abyss?`Super minions`super
Against which neutral mob does crowd control last twice as long?`Rift Scuttler
Smiting which neutral mob will give summon a nature spirit that grants vision over the nearby crossroads for 95 seconds?`Greater Murk Wolf
Smiting which neutral mob will give you the buff "Gift of Heavy Hands"?`Ancient Krug
Which neutral mob gives +62 gold when killed?`Gromp
Which neutral mob gives +58 gold when killed?`Blue Sentinel
Which neutral mob gives the buff "Doom's Eve"?`Rift Herald
Which neutral mob will dance if Popstar Ahri dances near it?`Blue Sentinel
Which neutral mob will dance if any champion dances near it?`Rift Herald
Which neutral mob is the only mob with scaling armor and magic resistance after level 9?`Dragon
What is Baron Nashor's movement speed?`300`three hundred
What is the name of the type minion created by Banner of Command?`Anti-turret Cannon`antiturret cannon