Chris Sexton
82dcf410f2
bot: hook connectors up to events
...
This includes a full test of `admin`
2019-02-05 13:42:15 -05:00
Chris Sexton
0593b4f164
config: set some defaults
2019-01-21 19:16:57 -05:00
Chris Sexton
742c76f562
config: add defaults checking where necessary
2019-01-21 14:24:03 -05:00
Chris Sexton
a8d0f3fd34
stats: remove unused plugin
...
config: checkpoint
config: checkpoint all but two tests passing
config: checkpoint all but one test suites pass
2019-01-21 12:36:56 -05:00
Chris Sexton
bbe0cdd28e
bot: add icon and name to slack messages
2019-01-11 19:58:17 -05:00
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
c639d460ac
go fmt
2018-05-02 07:02:04 -04:00
skkiesel
7841da0f48
one more try
2017-11-17 10:30:15 -05:00
skkiesel
95d99fa94d
grab the bot's bot id from the message response and use that to avoid self-reply loops
2017-11-17 10:16:10 -05:00
Chris Sexton
f5f70bbdc8
slack: test checking both user and username when we have a botID
2017-11-12 12:43:40 -05:00
Chris Sexton
20bf8748a2
slack: add whitelist for bots
2017-11-11 11:51:50 -05:00
Chris Sexton
11bb338e6b
slack: remove duplicate as_user
2017-11-09 10:38:31 -05:00
Chris Sexton
dff629d367
Merge pull request #92 from velour/sisyphus
...
Sisyphus
2017-11-09 09:48:14 -05:00
skkiesel
4ecbe971ac
Filter out messages from bots for now
2017-11-09 06:21:43 -05:00
Chris Sexton
827879b72d
sisyphus: add plugin
2017-11-03 19:03:19 -04:00
skkiesel
345129264b
use 'as_user' when sending messages and replies
2017-11-03 14:07:30 -04:00
skkiesel
54b83cd444
listening to thread responses to rpg threads only
2017-10-31 14:14:45 -04:00
skkiesel
d9bb7ec3c0
sometimes you have an id, sometimes a message, we should support relpying to both
2017-10-31 10:16:41 -04:00
skkiesel
3009a646e6
support replies
2017-10-31 10:07:20 -04:00
skkiesel
42b1356eb2
remove some unneccessary code when parsing sent message response
2017-10-31 09:48:35 -04:00
skkiesel
d6c35b94ec
cleanup!
2017-10-31 09:40:03 -04:00
Scott Kiesel
34e2404e8b
hacked poc for edits as an animation mechanism
2017-10-31 06:22:36 -04:00
Chris Sexton
86ba01e2f7
slack: remove @ when parsing a name
2017-10-24 15:56:05 -04:00
Chris Sexton
b94b249fc5
slack: import velour/chat parsing
...
* Removed emoji conversion from chat
* Added bool to getUser
* Fixed getUser references
2017-10-24 15:45:02 -04:00
cws
9600e0dc63
inventory: initial sketch
...
Fixes #2
2017-09-29 00:58:21 -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
755cfc38cd
slack: mark channels read, keep a current marker
2017-07-25 13:58:04 -04:00
cws
760ee1ca94
slack: Change case of some struct names
2017-07-25 10:56:30 -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
022f81a1f1
slack: check for unrecoverable EOF error
2017-04-01 09:14:29 -04:00
cws
d582a294a5
Update slack integration to not Fatal on bad msgs
2017-03-30 10:47:02 -04:00
cws
38a321f231
Mix username and user since slack sucks
2017-01-05 10:04:44 -05:00
cws
ef0afc2ee0
Fix detection of users on incoming messages
2017-01-05 09:48:57 -05:00
Chris Sexton
f665b166ad
Add regexp to clean ugly Slack URLs
2016-05-17 22:16:00 -04:00
Chris Sexton
e6324ad5a2
babbler: Add all users in chan, add cfg'd users
...
Also misc small updates to the mock object for easier config usage
2016-05-10 21:15:52 -04:00
Chris Sexton
8485ed9fe3
Fix Whoing a channel and factoid timer
2016-04-21 11:19:38 -04:00
Chris Sexton
e449a82001
YOLO: DEAL WITH IT
...
Refactored a bunch of junk.
2016-04-01 10:20:26 -04:00
Chris Sexton
2a702c7061
Fix license tags
2016-03-19 15:32:51 -04:00
Chris Sexton
b6d63f6432
Fix a few minor govet issues
2016-03-19 11:38:18 -04:00
Chris Sexton
df0fee0237
Fix untappd integration
2016-03-11 12:52:28 -05: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