Commit graph

25 commits

Author SHA1 Message Date
jesopo
1da222794c args_split[0] -> user.nickname (seen.py) 2020-03-08 21:42:31 +00:00
jesopo
de8bb22ffa change !seen to command specs 2020-02-28 22:57:16 +00:00
jesopo
8f9c063114 only do to_pretty_time as relative when requested 2020-02-24 10:18:55 +00:00
jesopo
d0d5cc4d08 split utils.datetime out in to .parse and .format 2020-01-30 21:20:56 +00:00
jesopo
269489b583 we shouldn't be setting seen-info on every channel per each channel message 2019-12-04 10:34:34 +00:00
jesopo
aad3da9f8d don't update !seen details for ourself 2019-11-30 16:43:41 +00:00
jesopo
5d01db8514 move all datetime-related code from utils/__init__ to utils.datetime 2019-11-15 13:59:09 +00:00
jesopo
28d3da85b4 !seen should get seen-info for target user, not current user 2019-11-04 15:33:57 +00:00
jesopo
35cc2d539d !seen seen-info should be per-channel, not network wide
closes #196
2019-10-30 11:42:00 +00:00
jesopo
15f28dad1e only look at PRIVMSG and NOTICE for !seen 2019-10-03 16:02:23 +01:00
jesopo
d5b9da7659 don't use JOIN/QUIT as !seen events (netsplits cause these) 2019-09-18 11:43:59 +01:00
jesopo
1d16009317 Add missing --depends-on hashflags 2019-06-19 22:14:13 +01:00
jesopo
4055e7c21f put formatting reset after !seen info (so colors can't leak) 2019-06-05 20:52:25 +01:00
jesopo
3590a64a51 Store information about last-seen-action and recall when !seen is used 2019-06-05 13:18:44 +01:00
jesopo
268c5adb3c Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +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
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
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
ceb73f586c Only show 2 biggest units in !seen 2018-08-29 15:52:04 +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
f943d63098
first commit. 2016-03-29 12:56:58 +01:00