mirror of
https://github.com/RussellChamp/tilde-projects.git
synced 2026-10-28 00:22:34 +00:00
Fixed topicbot backup scores files
This commit is contained in:
1 parent
7d1b45aab2
commit
f24567c3b9
5 files changed
+23
-14
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
Traceback (most recent call last):
|
||||||
|
File "./topicbot.py", line 188, in <module>
|
||||||
|
listen()
|
||||||
|
File "./topicbot.py", line 176, in listen
|
||||||
|
topic_history(channel, user, messageText)
|
||||||
|
File "./topicbot.py", line 104, in topic_history
|
||||||
|
iCount = int(count.split()[1])
|
||||||
|
IndexError: list index out of range
|
||||||
+12
-12
@@ -1,21 +1,21 @@
|
|||||||
krowbar&^%46&^%1422906524
|
krowbar&^%52&^%1422996899
|
||||||
karlen&^%38&^%1422291058
|
karlen&^%53&^%1422996579
|
||||||
endorphant&^%101&^%1422905595
|
endorphant&^%115&^%1422996920
|
||||||
jumblesale&^%20&^%1422027769
|
jumblesale&^%20&^%1422027769
|
||||||
marcus&^%16&^%1422906871
|
marcus&^%19&^%1422997619
|
||||||
papa&^%45&^%1422542104
|
papa&^%46&^%1422965349
|
||||||
epicmorphism&^%5&^%1421937744
|
epicmorphism&^%5&^%1421937744
|
||||||
audy&^%42&^%1422899452
|
audy&^%44&^%1422996599
|
||||||
kc&^%18&^%1422326056
|
kc&^%18&^%1422326056
|
||||||
vilmibm&^%3&^%1421887627
|
vilmibm&^%4&^%1422991123
|
||||||
cmr&^%17&^%1422906518
|
cmr&^%18&^%1422919247
|
||||||
imt&^%121&^%1422905648
|
imt&^%183&^%1422995649
|
||||||
cndorphant&^%165&^%1422903662
|
cndorphant&^%193&^%1422995649
|
||||||
rain&^%17&^%1422310975
|
rain&^%17&^%1422310975
|
||||||
sl2c&^%42&^%1422524176
|
sl2c&^%51&^%1422993399
|
||||||
leni&^%2&^%1421978450
|
leni&^%2&^%1421978450
|
||||||
selfsame&^%1&^%1422230012
|
selfsame&^%1&^%1422230012
|
||||||
bear&^%68&^%1422903670
|
bear&^%85&^%1422940626
|
||||||
coaxial&^%8&^%1422325983
|
coaxial&^%8&^%1422325983
|
||||||
joe&^%8&^%1422325983
|
joe&^%8&^%1422325983
|
||||||
hardmath123&^%4&^%1422325983
|
hardmath123&^%4&^%1422325983
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ def topic_scores(channel):
|
|||||||
def topic_history(channel, user, count):
|
def topic_history(channel, user, count):
|
||||||
try:
|
try:
|
||||||
iCount = int(count.split()[1])
|
iCount = int(count.split()[1])
|
||||||
except ValueError:
|
except (ValueError, IndexError) as e:
|
||||||
iCount = 3
|
iCount = 3
|
||||||
if(iCount > 10):
|
if(iCount > 10):
|
||||||
iCount = 10
|
iCount = 10
|
||||||
|
|||||||
@@ -55,3 +55,4 @@
|
|||||||
1421959689&^%vilmibm&^%life is what it is about; i want no truck with death
|
1421959689&^%vilmibm&^%life is what it is about; i want no truck with death
|
||||||
1422296037&^%krowbar&^%Do you like store-bought things or handmade things? Why?
|
1422296037&^%krowbar&^%Do you like store-bought things or handmade things? Why?
|
||||||
1422330863&^%vilmibm&^%hi! please try to keep bot chatter to #bots. Also, check out new channels: #poetry, #music, #coding
|
1422330863&^%vilmibm&^%hi! please try to keep bot chatter to #bots. Also, check out new channels: #poetry, #music, #coding
|
||||||
|
1422933066&^%vilmibm&^%html + feels
|
||||||
@@ -2,4 +2,4 @@ krowbar&^%21&^%24
|
|||||||
um&^%11&^%8
|
um&^%11&^%8
|
||||||
kc&^%0&^%22
|
kc&^%0&^%22
|
||||||
marcus&^%4&^%1
|
marcus&^%4&^%1
|
||||||
khoi&^%1&^%0karlen&^%0&^%1karlen&^%0&^%1jumblesale&^%1&^%0karlen&^%0&^%1karlen&^%0&^%1karlen&^%0&^%1dan&^%1&^%0datagrok&^%0&^%1vilmibm&^%0&^%1papa&^%1&^%0vilmibm&^%1&^%0vilmibm&^%0&^%1jumblesale&^%1&^%0selfsame&^%1&^%0karlen&^%0&^%1jumblesale&^%0&^%1karlen&^%0&^%1vilmibm&^%0&^%1vilmibm&^%0&^%1vilmibm&^%0&^%1jumblesale&^%1&^%0
|
khoi&^%1&^%0karlen&^%0&^%1karlen&^%0&^%1jumblesale&^%1&^%0karlen&^%0&^%1karlen&^%0&^%1karlen&^%0&^%1dan&^%1&^%0datagrok&^%0&^%1vilmibm&^%0&^%1papa&^%1&^%0vilmibm&^%1&^%0vilmibm&^%0&^%1jumblesale&^%1&^%0selfsame&^%1&^%0karlen&^%0&^%1jumblesale&^%0&^%1karlen&^%0&^%1vilmibm&^%0&^%1vilmibm&^%0&^%1vilmibm&^%0&^%1jumblesale&^%1&^%0vilmibm&^%0&^%1
|
||||||
Reference in new issue
Block a user