Fix whale or not
This commit is contained in:
parent
f4c779b549
commit
0142fcb49d
|
@ -597,7 +597,8 @@ def whaleornot(bot, trigger):
|
||||||
|
|
||||||
if not trigger.group(2):
|
if not trigger.group(2):
|
||||||
bot.say("Gotta have skin in the game to be a big fish! Add some XMR after the command to see what level the player is at!")
|
bot.say("Gotta have skin in the game to be a big fish! Add some XMR after the command to see what level the player is at!")
|
||||||
else
|
else:
|
||||||
|
try:
|
||||||
xmr_size = int(trigger.group(2))
|
xmr_size = int(trigger.group(2))
|
||||||
if xmr_size < 0.1:
|
if xmr_size < 0.1:
|
||||||
fish_string = "plankton"
|
fish_string = "plankton"
|
||||||
|
@ -643,5 +644,7 @@ def whaleornot(bot, trigger):
|
||||||
fish_string = "Leviathan"
|
fish_string = "Leviathan"
|
||||||
elif xmr_size >= 200000:
|
elif xmr_size >= 200000:
|
||||||
fish_string = "Cthulu"
|
fish_string = "Cthulu"
|
||||||
|
|
||||||
bot.say("{0} level.".format(fish_string))
|
bot.say("{0} level.".format(fish_string))
|
||||||
|
except:
|
||||||
|
bot.say("Try a base ten representation of a number")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue