Commit graph

24 commits

Author SHA1 Message Date
jesopo
c2e48c858e allow channels to specify quotes should be per-channel 2019-09-25 15:12:52 +01:00
jesopo
4c2c4a501c return quote category even if =quote isnt present 2019-09-07 15:17:30 +01:00
jesopo
6d1e7ad4b2 remove !qadd because !quote does the same things now 2019-09-05 18:09:16 +01:00
jesopo
7d96d346e1 show how many quotes found when searching with !quote 2019-09-05 18:09:02 +01:00
jesopo
0563305b20 support searching for quote content in !quote 2019-09-05 18:05:50 +01:00
jesopo
1d95d2d12d 'recieved' -> 'received' 2019-09-04 15:59:37 +01:00
jesopo
62faf62b82 add !grab as an alias of !quotegrab 2019-09-04 15:54:43 +01:00
jesopo
d3f09c5618 remove last quote if none is provided in !qdel 2019-07-11 20:47:39 +01:00
jesopo
268c5adb3c Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
jesopo
6affadd306 Pass category arg to _set_quotes in quote_add (quotes.py) 2019-01-26 16:06:15 +00:00
jesopo
f217c5d192 Quote should be saved with saver and timestamp (quotes.py) 2019-01-26 16:03:40 +00:00
jesopo
eb5c685128 Typo, 'quote' -> 'quotes' (quotes.py) 2019-01-26 16:01:17 +00:00
jesopo
6e4607ea8d _set_quotes needs to be given a category (quotes.py) 2019-01-26 15:57:07 +00:00
jesopo
5b4954a96c add !quotegrab to take the last message from a user and quote it (quotes.py) 2019-01-26 15:55:20 +00:00
jesopo
376825ea96 Mark command hooks that are aliases ('g' vs 'google') 2018-10-10 10:42:41 +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
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
bdf21643a3
made set/channelset settings consistent. 2016-05-01 22:47:59 +01:00
jesopo
3a7481315d
added a command to quotes.py to get a random quote from a category. 2016-05-01 17:47:35 +01:00
jesopo
c1f8835653
added quotes.py. 2016-04-29 12:43:48 +01:00