skkiesel
1bf6997144
initial implementation and POC to getting reactions pushed into slack via catbase
2017-07-24 07:38:03 -04:00
Chris Sexton
079c6ab2ec
Fix variable support
2016-05-20 16:28:48 -04: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
Chris Sexton
dc793a18c9
Fix help command to only respond when there is a space afterwards
2016-03-21 18:05:51 -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
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
1efa7ebcd4
Initial mongo->sqlite move
...
Tons of bugs, I'm sure. This commit mostly gets the bot moving towards
SQLite. It builds, but many plugins have a log.Fatal to prevent their
use and it has not been tested.
2016-01-15 08:17:26 -05: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
9e1d3de25c
Changing to match many people
2013-08-30 22:09:45 -04:00
Chris Sexton
0627f8a015
Fixes #41 : Don't require a space for a command
2013-08-26 12:18:57 -04:00
Chris Sexton
0acd004e59
Fixing self remembering problems stemming from lib change.
2013-06-17 00:04:10 -04:00
Chris Sexton
76e6644b8b
One more fix to the fact spitter.
...
Turns out channels have case.
2013-06-16 22:40:30 -04:00
Chris Sexton
eff200ee15
Fixing multi-channel factoid squirts.
2013-06-16 21:03:43 -04: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
edd941fe46
Initial (ugly) web interface
2013-06-01 13:10:33 -04:00
Chris Sexton
13fa9dd079
Removing unused variable
2013-05-07 20:58:20 -04:00
Chris Sexton
75e2c53bd1
Returning command check back to messy if/else. regexp was not good.
2013-05-07 20:56:09 -04:00
Chris Sexton
c3c19dda5f
Fixed crash on startup with empty message from server
2013-05-07 20:23:35 -04:00
Chris Sexton
42c934f091
Fixes #10 : Bot can quote and count himself
2013-05-07 20:08:18 -04:00
Chris Sexton
46fa81cd68
Making the counters aware of the bot itself.
2013-05-07 19:32:03 -04:00
Chris Sexton
03a20d0446
Fixes #11 : Change addressing scheme.
...
Check to be sure there's something other than a space after the bot's name for
addressing purposes.
2013-05-07 18:56:33 -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
cc58de580a
Enabling new stuff
2013-05-06 01:11:53 -04:00
Chris Sexton
84e7001165
Added a say command to talker
2013-05-06 01:11:53 -04:00
Chris Sexton
13b77ad2b1
Fixing case issues
2013-05-06 01:11:52 -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
Chris Sexton
4280440028
Added die roller, fixed bot command addressing.
2013-05-06 01:11:49 -04:00
Chris Sexton
83b28412a7
Changed random quote functionality to only spit out a quote minutes after somebody (other than the quote timer) has said something. The channels may be a bit buggy, but they don't seem to get stuck or spam, so it should be okayish.
2013-05-06 01:11:48 -04:00
Chris Sexton
0970ee980f
Quieting down the console
2013-05-06 01:11:47 -04:00
Chris Sexton
273b41fa3f
Fixed
2013-05-06 01:11:47 -04:00
Chris Sexton
ac8bc9a145
Added helptext to list variables
2013-05-06 01:11:47 -04:00
Chris Sexton
b418096bf6
Added dynamic variables (I'm sure this is going to backfire)
2013-05-06 01:11:47 -04:00
Chris Sexton
281b910dd6
Added <action> to factiod (or at least action actually working)
2013-05-06 01:11:47 -04:00
Chris Sexton
6f3c817e7f
Initial version of factoids seems to work. Probably some bugs to work out. Added
...
some $vars.
2013-05-06 01:11:46 -04:00
Chris Sexton
94063c3967
Added plugin ordering so that all queries are handled by the correct plugin
2013-05-06 01:11:46 -04:00
Chris Sexton
1551463c7f
Added short user name complaining
2013-05-06 01:11:46 -04:00
Chris Sexton
3e7f8d4248
Reduced the messages on the console
2013-05-06 01:11:45 -04:00
Chris Sexton
9c721a0f58
Added generic Event handling to plugins, made Talker handle the OCD hivemind
2013-05-06 01:11:45 -04:00
Chris Sexton
e4c755faaa
Made the bot a bit less verbose (axed some debug printing)
2013-05-06 01:11:45 -04:00
Chris Sexton
a71e743e79
Fixed bugs found on initial unveiling in beers and the handler code.
...
Beers now counts correctly and does not die when it can't find a user. The code
for nonexistant users was bogus and the code for setting beers was not counting
dates.
Handlers were not breaking after finding users (linear scan, ack). This should
probably be switched to a map[string]user type.
2013-05-06 01:11:45 -04:00
Chris Sexton
3953f0a831
Massive improvements to the remember plugin, fixed some help issues, added ACTION parsing.
2013-05-06 01:11:45 -04:00
Chris Sexton
31d52248d7
Improved channel handling to allow /QUREY use of the bot
2013-05-06 01:11:45 -04:00
Chris Sexton
9990decfc7
It looks like the beers plugin is faithfully copied over to the new bot
...
framework. I'm not sure that commands vs non-commands are well represented in
this as compared to the old bot.
2013-05-06 01:11:45 -04:00
Chris Sexton
1dafd3af6e
Added a lot more code to the beers plugin. Needs datastore still and some more
...
of its commands, but the skeleton is there. Added support for commands.
2013-05-06 01:11:44 -04:00
Chris Sexton
59b42b1556
Added a skeleton plugin (and beers based on that) and improved the help function
...
a bit.
2013-05-06 01:11:44 -04:00