diff --git a/bot.py b/bot.py index d0c2c04..d002964 100755 --- a/bot.py +++ b/bot.py @@ -3,7 +3,7 @@ import random def runner(): - print(forge) + print(forge()) def percentage(): return random.randint(0, 100) @@ -15,6 +15,6 @@ def readfiles(file1 = "part1.txt", file2 = "part2.txt", file3 = "part3.txt"): def forge(): pa, pb, pc = (random.choice(i).strip() for i in readfiles()) - return "%i%% %s %s %s" % (percentage(), pa, pb, pc) + return "%i%% %s %s %s." % (percentage(), pa, pb, pc)