jesopo
|
49d9cbdb87
|
exports.get_one() -> exports.get()
|
2020-03-08 14:14:00 +00:00 |
|
jesopo
|
60c2e1138d
|
update words.py to use command specs (and not docstrings)
|
2020-02-15 00:26:07 +00:00 |
|
jesopo
|
83bc75c9cc
|
add a setting to only track words from registered users
|
2020-02-06 16:52:09 +00:00 |
|
jesopo
|
e0e31b977e
|
rewrite words.py to track words per-day (in it's own table)
|
2020-02-06 16:43:13 +00:00 |
|
jesopo
|
d0d5cc4d08
|
split utils.datetime out in to .parse and .format
|
2020-01-30 21:20:56 +00:00 |
|
jesopo
|
32f047c10e
|
wordiest-prevent-highlight -> words-, apply to !wordusers too
|
2020-01-23 14:15:26 +00:00 |
|
jesopo
|
2c524303aa
|
by default, prevent highlighting from !wordiest
|
2020-01-10 11:51:46 +00:00 |
|
jesopo
|
598a41da8c
|
default !wordiest to the current channel
|
2019-12-19 14:33:07 +00:00 |
|
jesopo
|
5d01db8514
|
move all datetime-related code from utils/__init__ to utils.datetime
|
2019-11-15 13:59:09 +00:00 |
|
jesopo
|
2cb55306c3
|
show first-words datestamp on !words output
|
2019-11-15 12:13:16 +00:00 |
|
jesopo
|
bad108d7ce
|
support disabling word tracking per channel, not just per user
|
2019-09-10 10:34:44 +01:00 |
|
jesopo
|
ae9d099a41
|
Refactor set/channelset/serverset/botset in to 'utils.Setting' objects
|
2019-06-28 23:16:05 +01:00 |
|
jesopo
|
268c5adb3c
|
Add depends-on hashflags to relevant modules
|
2019-05-25 21:40:06 +01:00 |
|
jesopo
|
cf29c37112
|
Add usage examples for all settings
|
2019-05-23 10:28:14 +01:00 |
|
jesopo
|
bf7d359092
|
Add a setting to opt-out of word count tracking
|
2019-05-15 22:44:47 +01:00 |
|
jesopo
|
f715e46155
|
Stop using prevent_highlight. it ruins terminals on OS X
|
2019-05-04 23:28:51 +01:00 |
|
jesopo
|
38b7a1dadf
|
Typo in words.py: 'strippped_word' -> 'stripped_word'
|
2019-01-04 12:36:38 +00:00 |
|
jesopo
|
8171c5c492
|
Allow tracking words that have characters deemed as "start"/"end" characters
(words.py)
|
2019-01-04 12:13:36 +00:00 |
|
jesopo
|
ed838193aa
|
Better support passing "send" events through the parsers already present in
modules/line_handler.py
|
2018-11-14 14:41:28 +00:00 |
|
jesopo
|
bd52297885
|
"," -> ", " in modules/words.py
|
2018-10-18 12:54:37 +01:00 |
|
jesopo
|
226d835374
|
Add !trackedwords in modules/words.py
|
2018-10-18 12:53:27 +01:00 |
|
jesopo
|
382728e83e
|
Add ` and * to characters stripped from start/end or words in modules/words.py
|
2018-10-12 08:38:29 +01:00 |
|
jesopo
|
2c815f4bbc
|
Strip specific characters from the front of words too (and add more characters
to strip from the end) in modules/words.py
|
2018-10-11 13:04:54 +01:00 |
|
jesopo
|
0e2140b99f
|
Also strip "." from the end of words in modules/words.py
|
2018-10-11 12:56:18 +01:00 |
|
jesopo
|
98cdfa6419
|
Strip common characters that mark the end of a word (":;,!?~") from the end of
words in modules/words.py
|
2018-10-11 12:55:19 +01:00 |
|
jesopo
|
75f25db4cd
|
Move 'top 10' logic to utils, add !wordiest to modules/words.py
|
2018-10-04 05:33:15 +01:00 |
|
jesopo
|
69d58eede2
|
Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
|
2018-10-03 13:22:37 +01:00 |
|
jesopo
|
67c22416cc
|
Use PRIORITY_MONITOR for keeping count of words (to avoid seeing commands)
|
2018-10-02 14:29:51 +01:00 |
|
jesopo
|
10ef985a8a
|
Switch to using docstring for usage, permission and require_mode
|
2018-09-30 17:29:09 +01:00 |
|
jesopo
|
51a52e2b0e
|
Switch to using @Utils.hook and docstrings for event hooks
|
2018-09-26 18:27:17 +01:00 |
|
jesopo
|
ecb9d7cb3f
|
Move most code in root directory to src/
|
2018-09-24 15:13:27 +01:00 |
|
jesopo
|
fcbb7c960c
|
Refactor everything to use delimited events
|
2018-09-19 13:25:12 +01:00 |
|
jesopo
|
f2aeaf7797
|
Don't use IRCUser.id ever, use IRCUser.get_id()
|
2018-09-05 12:58:12 +01:00 |
|
jesopo
|
8c6ab17e57
|
give an Exports object (actually, ExportsContex object) to each module, to
facilitate things like !set and !channelset without using the events system
|
2018-09-02 19:54:45 +01:00 |
|
jesopo
|
9874f79b49
|
Give modules event objects with "context"s, to facilitate purging all the event
hooks for a module
|
2018-08-31 12:55:52 +01:00 |
|
jesopo
|
f8a6aa087b
|
Save when a user sends their "first" words (won't be correct for old users)
|
2018-08-28 15:33:41 +01:00 |
|
jesopo
|
9a3f2e5de6
|
Change the database to give channels and users ids and use those in the settings
tables
|
2018-08-19 00:19:53 +01:00 |
|
jesopo
|
33b48f5ea3
|
.wrote -> .write typo in words.py
|
2018-08-18 18:29:06 +01:00 |
|
jesopo
|
6709fa1878
|
Prevent highlighting users in !wordusers and !richest
|
2018-08-10 13:56:45 +01:00 |
|
jesopo
|
213bf999b9
|
Changed find_all_by_setting to not return setting, added !richest
|
2018-08-09 13:49:44 +01:00 |
|
jesopo
|
2e9ce67586
|
Also track BitBot's words in words.py
|
2018-08-08 10:33:33 +01:00 |
|
jesopo
|
6a7369f7de
|
changed words.py to use new user_channel_settings table
|
2018-08-05 17:16:15 +01:00 |
|
jesopo
|
c2c60e309a
|
Improve using correct nickname capitalisation in words.py
|
2018-08-05 13:14:40 +01:00 |
|
jesopo
|
7698105761
|
When a user is online, use correct capitalisation in !wordusers
|
2018-08-05 13:12:07 +01:00 |
|
jesopo
|
65feaef283
|
Add help for !words
|
2018-08-03 16:25:27 +01:00 |
|
jesopo
|
e2e395c352
|
Revamped words.py to track words per user per server so we're not writing a huge
json string to sqlite every time someone says a tracked word
|
2018-08-03 13:44:50 +01:00 |
|
jesopo
|
ce4f0f68b0
|
fixed words.py to always show nicknames with the same count in the same order.
|
2016-04-18 16:51:06 +01:00 |
|
jesopo
|
ab05ea6509
|
beefed up the words.py module.
|
2016-04-10 17:32:33 +01:00 |
|
jesopo
|
9b2556a65a
|
added usage help to a lot of modules, added a verbose option to karma.py.
|
2016-04-06 12:02:44 +01:00 |
|
jesopo
|
afec1deb5c
|
added tracking certain words in words.py and fixed/changed a couple of things to allow it to work.
|
2016-04-06 09:40:49 +01:00 |
|