Commit Graph

7 Commits

Author SHA1 Message Date
Chris Rhodes b01ec2cc08 Merge branch 'yt' of https://github.com/iopred/goirc into yt
Conflicts:
	client/dispatch.go
2013-02-17 18:47:26 -08:00
Chris Rhodes e4da830c55 Handlers/Commands now use the container/list.
Re introduced strip nick and strip prefix for SimpleCommands
Fixed tests.
2013-02-17 18:40:58 -08:00
Chris Rhodes 8007846d51 Run commands as a goroutine 2013-02-17 10:15:10 -08:00
Chris Rhodes e8eba53828 Added more documentation, commands are a list now, not a set :) 2013-02-17 00:09:16 -08:00
Chris Rhodes 89c23a7787 Add support for complex regex commands.
Refactor commands so they are just handlers.
Add commands that listen for YouTube/Webpage mentions and print information (Video Info/Title).
Add simple command examples in client.go
TODO: Use a better data store for the commands, perhaps a linked list like handlers.
2013-02-16 23:50:42 -08:00
Chris Rhodes 8e16f59b5f Use the internal event handling for initial pass/user/nick messages.
Added constants for internal and named events.
gofmt'ed all files and updated client.go/documentation.
2013-02-15 19:24:10 -08:00
Alex Bramley a674267128 Re-work Handlers for IRC events; add Commands. 2013-02-16 00:17:31 +00:00