Commit graph

18 commits

Author SHA1 Message Date
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
jesopo
27c0de701c
added words.py for keeping track of how many words people have said. 2016-04-05 18:43:17 +01:00