Merge branch 'fabioxgn/master'
- Commands now receive 'type Command' as param and return a String and Error. If string is not empty, the bot will send the message on the channel. TODO: handle these errors (log, debug, notice...).
- Commands are able to register a 'page' on the Manual that will be used by the 'Help' command.
- Parser now receive the Channel and Nick from the user who sent the message.
- Command Handler now receive the irc connection pointer so we can use it later. Not sure if this is the best way to do. This is the main reason the tests are broken. No idea how to fix it :P
- TODO: fix the tests and maybe merge the Parser and Commands files as they have to work together and share stuff.
New commands Help (show the available commands and their descriptions), Join (join channels), Part (leave channels) and Quit (disconnect the bot).
TODO: Admin permissions for avoid some critical commands to be executed by anyone.
Removed some unecessary files.
Removed the dependency on the IRCConnection from the commands and fixed skipped tests
Struct to mock the irc connection
Better separation of packages to avoid dependencies. Fixed disabled tests
Removed newrelic, added help command and example scripts
Moved help and join commands to the main directory. Fixed join command tests
Fixed part command
Removed comments from part_test
Removed commented code
Fixed call to e.Message which is now a func
Merge pull request #4 from fabioxgn/packages

Packages