Commit Graph

20 Commits

Author SHA1 Message Date
Chris Sexton 332d992d05 counter: use IDs when available
This should help alleviate user name changes, but may not fix it
entirely. Had to update beers and goals to match an ID search.

Note: this will bust badly for IRC
2021-02-14 17:00:56 -05:00
Chris Sexton e7ec092c64 counter: update tests 2021-01-31 21:53:48 -05:00
Chris Sexton ccfdb5a715 goals: mostly done, time to try it 2020-05-26 11:41:28 -04:00
Chris Sexton d99ee28370 counter: add rmalias and some help 2020-04-20 06:22:53 -04:00
Chris Sexton fc18fba2d8 counter: use absolute value for counter 2020-01-24 16:56:22 -05:00
Chris Sexton 42f7f52bfb cli: make a new plugin 2019-05-27 19:23:05 -04:00
Chris Sexton a20839cdd7 bot: Invert RegisterWeb 2019-02-07 11:30:42 -05:00
Chris Sexton 5ee5f33e36 tests: refactor for new system 2019-02-05 15:02:15 -05:00
Chris Sexton 15168f5db0 config: all tests passing
* Using in-memory but shared DB. ALL TESTS MUST CLEAR RELEVANT TABLES
* Removed problematic reminder test
2019-01-21 12:36:55 -05:00
Chris Sexton 73f019a14a counter: change from Tea. Earl Grey. Hot. to all
Now we can say any valid counter with two more sentences and get the
Picard-alike results with counter.
2018-10-19 14:23:08 -04:00
Chris Sexton 8d729f5d42 counter: make tea counter less strict 2018-10-07 08:48:13 -04:00
Chris Sexton b1a4fd2050 merge a spaced out count into one in the case of an emojy or anything with a space really 2018-09-27 22:48:11 -04:00
cws 148f9635a0 counter: Change regex to be more accepting
Fixes #66
2017-07-24 07:40:13 -04:00
svohr 39d5dec694 Updated tea test to replace 🍵 with 🍵 2017-02-20 12:19:49 -08:00
svohr ae3a4eee52 Fixed tea regex to fix bad matches that ended in iced
Added a test based on skiesel's quote that triggered it.
2017-02-20 11:57:12 -08:00
svohr 6917e091af "Tea. Earl Grey. Hot." generalized for any tea, hot or iced. 2017-02-14 20:56:29 -08:00
cws cdb77a5119 Tea. Earl Grey. Hot. 2017-01-31 15:35:05 -05:00
cws 2957b6f4d5 Add reset me command 2017-01-23 21:13:21 -05:00
Chris Sexton e449a82001 YOLO: DEAL WITH IT
Refactored a bunch of junk.
2016-04-01 10:20:26 -04:00
Chris Sexton ef40d335eb Make testing great again! Add examples in counter
* Made bot.Bot an interface and added a mock with an in-memory database
for plugins to use.
* Remove logger nonsense
* Rename Counter New
2016-03-30 12:41:22 -04:00