diff --git a/Code/irc/log b/Code/irc/log index 807282c..2ec4978 100644 --- a/Code/irc/log +++ b/Code/irc/log @@ -6,3 +6,7 @@ Traceback (most recent call last): File "./topicbot.py", line 104, in topic_history iCount = int(count.split()[1]) IndexError: list index out of range +Traceback (most recent call last): + File "./topicbot.py", line 88, in + def random_topic(channel, user, time, setTopic=false): +NameError: name 'false' is not defined diff --git a/Code/irc/tildescores.txt b/Code/irc/tildescores.txt index c904b51..f3fd7d7 100644 --- a/Code/irc/tildescores.txt +++ b/Code/irc/tildescores.txt @@ -1,22 +1,25 @@ -krowbar&^%120&^%1423775651 -karlen&^%175&^%1423763248 -endorphant&^%193&^%1423771636 -jumblesale&^%20&^%1422027769 -marcus&^%51&^%1423688385 +krowbar&^%207&^%1427290628 +karlen&^%271&^%1426779321 +endorphant&^%473&^%1428280534 +jumblesale&^%24&^%1426171214 +marcus&^%234&^%1428325792 papa&^%48&^%1423148291 epicmorphism&^%5&^%1421937744 -audy&^%62&^%1423763125 +audy&^%66&^%1424228886 kc&^%18&^%1422326056 vilmibm&^%9&^%1423247508 cmr&^%18&^%1422919247 -imt&^%492&^%1423769662 -cndorphant&^%640&^%1423773262 +imt&^%519&^%1424087616 +cndorphant&^%788&^%1424094192 rain&^%17&^%1422310975 -sl2c&^%83&^%1423583083 +sl2c&^%91&^%1424847521 selfsame&^%1&^%1422230012 -bear&^%114&^%1423775107 +bear&^%182&^%1425850622 coaxial&^%8&^%1422325983 joe&^%8&^%1422325983 hardmath123&^%4&^%1422325983 leni&^%3&^%1422325983 -cel&^%7&^%1423724883 +cel&^%10&^%1424492545 +quote_bots&^%3&^%1424737471 +bave&^%1&^%1427591141 +scellef&^%5&^%1428094504 diff --git a/Code/irc/topicbot.py b/Code/irc/topicbot.py index f381035..084e916 100755 --- a/Code/irc/topicbot.py +++ b/Code/irc/topicbot.py @@ -85,13 +85,13 @@ def set_topic(channel, user, time, msg): ircsock.send("TOPIC "+ channel +" :" + msg + "\n") count_topic(channel, user, time, msg) -def random_topic(channel, user, time, setTopic=false): +def random_topic(channel, user, time, setTopic=False): with open("randomtopics.txt") as rtopics: msg = random.choice(rtopics.readlines()).strip("\n") if(setTopic): set_topic(channel, user, time, msg) else: - ircsock.send("TOPIC "+ channel +" :Suggested Topic: " + msg + "\n") + ircsock.send("PRIVMSG "+channel +" :Suggested Topic: " + msg + "\n") def rollcall(channel): ircsock.send("PRIVMSG "+ channel +" :topicbot reporting! I respond to !topic !settopic !randomtopic !thistory\n") diff --git a/Code/irc/topics_#bots.txt b/Code/irc/topics_#bots.txt index 4c6ef87..9d4bc2a 100644 --- a/Code/irc/topics_#bots.txt +++ b/Code/irc/topics_#bots.txt @@ -2,3 +2,12 @@ 1423077842&^%krowbar&^%tildebot now has a jackpot that increases for each non-payout. every request has a chance to hit jackpot! 1423607774&^%krowbar&^%WARNING! Anti-botting measures enacted... soon. Un-clever work-arounds will not be tolerated 1423771803&^%krowbar&^%Anti-botting measure have been enacted. Un-clever work-arounds will not be tolerated. +1424362211&^%krowbar&^%Anti-botting measures have been worked around. Those responsible have been sacked. +1424648855&^%endorphant&^%Anti-botting measures have been worked around. Those responsible have been sacked. | Try out txtminebot! +1424700303&^%karlen&^%quote_bots is down for feature, tildes will not be logged in the interim +1424701008&^%karlen&^%SO MUCH MINING IN THIS CHANNEL NOW!! +1424993782&^%endorphant&^%/!grovel +1425709612&^%endorphant&^%txtmines: !strike rates now calculated from strength stat +1426016256&^%endorphant&^%http://tilde.town/~wiki/ircbots.html +1426298989&^%endorphant&^%http://tilde.town/~wiki/ircbots.html | txtminebot had a data wipe for a feature push | !golem +1426455418&^%endorphant&^%http://tilde.town/~wiki/ircbots.html | !golem diff --git a/Code/irc/topics_#tildetown.txt b/Code/irc/topics_#tildetown.txt index a9468e1..d8fe8b2 100644 --- a/Code/irc/topics_#tildetown.txt +++ b/Code/irc/topics_#tildetown.txt @@ -58,3 +58,9 @@ 1422933066&^%vilmibm&^%html + feels 1423001317&^%vilmibm&^%red as blood https://twitter.com/shelbyfero/status/561976412748255234 1423176402&^%vilmibm&^%welcome to tilde.town irc | check out subchannels #bots #music #poetry #coding +1425406697&^%vilmibm&^%tilde.town party on wednesday! | check out subchannels #bots #music #poetry #coding +1425493953&^%vilmibm&^%PARTY TIME: 1) lurk 2) chat 3) make something beautiful 4) talk about it +1426097696&^%vilmibm&^%html + feels +1426781957&^%krowbar&^%html + cheeses +1427275885&^%jumblesale&^%pugtalk +1428024389&^%vilmibm&^%let's talk about html, feels, and pugs diff --git a/Code/irc/topicscores.txt b/Code/irc/topicscores.txt index d52ea85..7bb1692 100644 --- a/Code/irc/topicscores.txt +++ b/Code/irc/topicscores.txt @@ -1,12 +1,13 @@ -krowbar&^%21&^%27 +krowbar&^%22&^%29 um&^%11&^%8 kc&^%0&^%22 marcus&^%4&^%1 khoi&^%1&^%0 -karlen&^%0&^%7 -jumblesale&^%3&^%2 +karlen&^%0&^%9 +jumblesale&^%4&^%3 dan&^%1&^%0 datagrok&^%0&^%1 papa&^%1&^%0 -vilmibm&^%1&^%8 +vilmibm&^%1&^%12 selfsame&^%1&^%0 +endorphant&^%0&^%6