gophirc
A simple IRC bot framework written from scratch, in Go.
Description
Event based IRC framework.
Warning
The API might break anytime.
Framework managed events
Manages server PING requests (not CTCP PING)
Registers on first NOTICE *
Identifies on RPL_WELCOME (event 001)
Joins the received invites & sends a greeting to the channel
Logs if the bot gets kicked from a channel
Features
Capability to connect to multiple servers
Multiple per event callbacks
State & general logging
Graceful exit handled either by a SIGINT (Ctrl-C)
Parses a user from an IRC formatted nick!user@host to a User{}
Config implements a basic checking on values
Already implemented basic commands - JOIN, PART, PRIVMSG, NOTICE, KICK, INVITE, MODE, CTCP commands
Many (?) more
More: https://github.com/vlad-s/gophirc
Bonus, IRC bot using gophirc - gophircbot: https://github.com/vlad-s/gophircbot