From dcdfd2cee2f249fbcb466590cf93403958956563 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Thu, 25 Feb 2016 16:07:48 +0100 Subject: [PATCH] Fixed an issue with economy transfer Updated trivia list --- cogs/economy.py | 3 +++ data/trivia/leaguefacts.txt | 15 +++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/cogs/economy.py b/cogs/economy.py index 7a878d392..b731e2eca 100644 --- a/cogs/economy.py +++ b/cogs/economy.py @@ -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) diff --git a/data/trivia/leaguefacts.txt b/data/trivia/leaguefacts.txt index fde89d020..64b92098c 100644 --- a/data/trivia/leaguefacts.txt +++ b/data/trivia/leaguefacts.txt @@ -543,7 +543,6 @@ Where does Udyr live?`Freljord 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 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 Who was Urf's Corpse sold to?`Butcher Urgot`Urgot 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 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 capital city of Freljord?`Rakelstake \ No newline at end of file +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 \ No newline at end of file