The ascension of the Madonna (the 15th of August is approaching)

This commit is contained in:
Giuseppe Guerra
2018-08-04 19:26:42 +02:00
parent 7f283d9aa2
commit cb2d1e74f7
8 changed files with 20 additions and 20 deletions

View File

@@ -63,7 +63,7 @@ def faq(fro, chan, message):
def roll(fro, chan, message):
maxPoints = 100
if len(message) >= 1:
if message[0].isdigit() == True and int(message[0]) > 0:
if message[0].isdigit() and int(message[0]) > 0:
maxPoints = int(message[0])
points = random.randrange(0,maxPoints)