Updated tildebot, updated twine stuff, backup scores and topics files

This commit is contained in:
RussellChamp committed 2015-02-06 19:35:22 +00:00
1 parent f24567c3b9
commit 90c4270ebf
10 files changed
+98 -86

No files matched your search

+2 -2
View File
@@ -66,11 +66,11 @@ def get_prize(user):
return [0, user + " is a meanie and gets no tildes! (Jackpot is now " + str(new_jackpot) + " tildes)"]
else: #hit jackpot!
jackpotfile.write(str(JACKPOT_MIN))
return [jackpot, user + " hit the jackpot and got " + p.number_to_words(jackpot) + " tildes!"]
return [jackpot, user + " hit the jackpot and won **" + p.number_to_words(jackpot) + " tildes!**"]
def show_jackpot(channel):
with open(JACKPOT_FILE, "r") as jackpotfile:
jackpot = int(jackpotfile.readlines().strip("\n"))
jackpot = int(jackpotfile.readline().strip("\n"))
ircsock.send("PRiVMSG " + channel + " :The jackpot is currently " + p.number_to_words(jackpot) + " tildes!\n")
def give_tilde(channel, user, time):