Commit graph

35 commits

Author SHA1 Message Date
David Schultz
b7e1cc96f1
quotes.py: allow opting out of quotes 2021-06-24 20:57:14 -05:00
jesopo
c2c584d1c0 show what quote was deleted, do partial match, fix qdel for last 2020-06-10 22:53:00 +01:00
jesopo
f70cb2f0cd cant remove a target-specific quote from zipped up mixed quotes. duh 2020-06-10 22:36:01 +01:00
jesopo
6ce20e3562 quote grab category shouldn't be a server/channel object. wtf 2020-06-03 12:48:49 +01:00
jesopo
83f0eacb1c rewrite quote search categories to account name when possible 2020-06-03 12:48:27 +01:00
jesopo
b296a2df05 add IRCBuffer.BufferLine.format() - /me vs message formatting 2020-01-30 14:56:57 +00:00
jesopo
bf9fadec77 !qdel should be able to delete from channel-only quotes 2019-12-19 21:44:09 +00:00
jesopo
2d3316185b "qoute" -> "quote" typo 2019-12-06 16:34:42 +00:00
jesopo
3ff3ec099e attempt to attach grabbed quotes to account instead of nickname 2019-12-04 10:43:53 +00:00
jesopo
cac8cb7b7e better help/usage for quote.py commands
closes #92
2019-10-04 15:25:53 +01:00
jesopo
6cfab3f344 allow !grab for 1 to 3 most recent lines (default is 1) 2019-09-26 13:47:17 +01:00
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