mirror of
https://github.com/RussellChamp/tilde-projects.git
synced 2026-10-28 00:22:34 +00:00
Updated tildebot, updated twine stuff, backup scores and topics files
This commit is contained in:
1 parent
f24567c3b9
commit
90c4270ebf
10 files changed
+98
-86
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user