Chris Sexton
ae4e28c5be
Add a ping/pong message to slack.
...
There was an error with buffers ending in \x00 unmarshaling the message when it was short:
{"type": "pong"}
My solution was to just include a timestamp to make the message large enough to fill the
initial buffer size. Perfect.
2018-06-27 08:41:23 -04:00
Chris Sexton
5d6f41db3c
Fix CSW
2018-06-22 14:25:43 -04:00
skkiesel
f03fdb4d4e
This might be entertaining on occasion
2018-06-16 17:25:33 -04:00
Chris Sexton
0357e59858
db: Add plugin to access DB
...
Can now download the database at /db/catbase.db
2018-02-22 17:41:48 -05:00
Chris Sexton
132fdd29be
picker: add new plugin
2017-12-19 13:37:47 -05:00
Chris Sexton
1a420c1738
tell: create tell plugin
2017-11-16 17:06:48 -05:00
Chris Sexton
827879b72d
sisyphus: add plugin
2017-11-03 19:03:19 -04:00
Scott Kiesel
34e2404e8b
hacked poc for edits as an animation mechanism
2017-10-31 06:22:36 -04:00
cws
9600e0dc63
inventory: initial sketch
...
Fixes #2
2017-09-29 00:58:21 -04:00
cws
403c6dae0a
twitch: update to current API
...
* Added OAuth abilities
* Added full API spec for endpoint response
* Use net/url to build request
2017-09-27 14:47:16 -04:00
Chris Sexton
0220b8f266
main: fix flags to default to config.lua
2017-09-07 00:38:41 -04:00
cws
e56604f507
bot: change serve() to return an error
...
slack: don't fatal on EOF, reconnect
irc: don't fatal, just return error
2017-09-07 00:32:53 -04:00
cws
19578f7147
first: re-enable
2017-08-18 05:59:46 -04:00
skkiesel
c6e1769f0f
Parse incoming messages to see if we can annoy eaburns with emoji word replacements
2017-07-24 15:09:27 -04:00
skkiesel
8728d96639
initial implementation and POC to getting reactions pushed into slack via catbase
2017-06-17 16:20:06 -04:00
cws
95616e0fb8
stats: WIP demo of stats
...
* Added a plugin for stats
* Using BoltDB for ease of not screwing with SQL
** Perhaps everything should be Bolt...
* Should be relatively easy to add new stat counters:
** Create a function that makes the stat{} struct
** Add it to the list of active counters
* Should be relatively easy to add a views page later
2017-06-05 20:52:35 -04:00
skkiesel
9c39e3cd41
barebones rss headline skimmer
2017-05-10 15:19:07 -04:00
cws
1874f43e6c
disable twitch
2017-01-05 09:49:47 -05:00
skiesel
5cf384e633
check twitch to see who is streaming
2016-08-08 21:15:09 -04:00
Ethan Burns
06eef50025
Add zork plugin.
2016-05-15 16:43:47 -04:00
skiesel
8c5a446b75
markov babbler plugin
2016-05-09 16:48:05 -04:00
skiesel
2764410ad4
new reminder plugin
2016-05-09 13:09:17 -04:00
cwsexton
ebea6df461
Re-enable counter plugin
2016-04-04 10:33:32 -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
Chris Sexton
0e69e58ff5
Fix goatse in talker
...
Note: This makes the goatse very Slack specific with preformatting and
newlines.
2016-03-25 15:10:56 -04:00
Chris Sexton
a14a2b2e61
Yup. Leftpad.
2016-03-25 12:25:00 -04:00
Chris Sexton
762ec13780
Fixes #20 : move plugins to their own pkgs
2016-03-24 13:32:40 -04:00
Chris Sexton
ae5d7dec2e
Migrate to sqlx; modularize counters
2016-03-19 14:02:46 -04:00
Chris Sexton
dc1239783e
Initial slack worky worky
2016-03-10 21:11:52 -05:00
Chris Sexton
51d7f7f067
Move IRC stuff to its own package
2016-03-10 13:37:07 -05:00
Chris Sexton
74e981eedf
Fix imports; Use SSL by default
...
Fix imports to point to github instead of code.google
2016-01-17 22:51:11 -05:00
Chris Sexton
d261fcc406
AlePale -> Catbase => velour
2016-01-17 13:00:44 -05:00
Chris Sexton
1d62e6173f
Migrate remember to SQL
2016-01-17 12:45:21 -05:00
Chris Sexton
c91f4a8535
Migrate factoids to SQL
2016-01-17 10:29:30 -05:00
Chris Sexton
72b71de10e
Convert downtime to SQL
2016-01-15 13:37:54 -05:00
Chris Sexton
92e1ea5d42
Update first plugin for SQL
2016-01-15 11:54:09 -05:00
Chris Sexton
782d074bdf
Get the bot online; make counters work
...
Mostly just silly stuff to get everything working.
2016-01-15 08:59:51 -05:00
Chris Sexton
1827765a4d
Fixes #56 again because I did it wrong.
2014-04-20 15:08:24 -04:00
Chris Sexton
9952154433
Fixes #56 : Add rate limit to outgoing messages
2014-04-20 12:54:01 -04:00
Chris Sexton
7f093b003e
Added AUTHORS file and info in all files.
...
Thanks to https://github.com/eaburns/license
2013-12-10 18:37:07 -05:00
Chris Sexton
2c0dc55452
Big overhaul again! Replaced fluffle's goirc library with velour/irc.
...
Hopefully this new library will provide me with some benefits such as being able
to actually get and respond to a WHO message. Yet to do is to fix sendMessage to
be a channel on Bot with a goroutine that formats and sends messages on. Also,
figuring out how to handle the WHO response and populate users.
2013-06-01 22:06:31 -04:00
Chris Sexton
45b6ffa819
Fixes #18 : Go fmt on everything. Turns out only main needed it
2013-05-09 18:31:57 -04:00
Chris Sexton
d87f7779ab
Renaming project to reflect bot's actual name.
2013-05-06 01:11:54 -04:00
Chris Sexton
ea60a899c7
Converting imports to github, added license & full readme
2013-05-06 01:11:54 -04:00
Chris Sexton
80295590af
Adding your plugin
2013-05-06 01:11:53 -04:00
Chris Sexton
ecdc1a7bb7
Adding support for QUIT
2013-05-06 01:11:52 -04:00
Chris Sexton
6434b27626
Added first plugin to track who said first in the channel
2013-05-06 01:11:51 -04:00
Chris Sexton
32b62cf18e
Initial version of counters
2013-05-06 01:11:51 -04:00
Chris Sexton
f31e43e3bc
Accidentally killed ACTION at some point, adding back in
2013-05-06 01:11:50 -04:00
Chris Sexton
2cb0eba9b8
Added new mode support for downtime. Some of the additions in main are not needed, and it may be breaking other plugins.
2013-05-06 01:11:50 -04:00