diff --git a/tipbot.py b/tipbot.py index 083e09e..6482235 100644 --- a/tipbot.py +++ b/tipbot.py @@ -308,6 +308,9 @@ def Rain(nick,data): everyone = True else: everyone = False + if users == 0: + SendTo(sendto, "Nobody eligible for rain") + return if units < users: SendTo(sendto, "This would mean not even a tacoshi per nick") return