A simple IRC bot written from scratch*, in Go. Uses gophirc.
* Initially the bot was developed with full functionality, extracting the core into a framework was a todo.
The bot is currently a work in progress.
- See gophirc
- Searches the messages (
PRIVMSG
) for links and sends back the title or content-type & content-length (if specified in the headers)
<you> https://i.imgur.com/HkN2lB4.png
<gophircbot> [URL] content-type image/png, content-length 33.4 KB
<you> https://github.com/vlad-s/gophircbot
<gophircbot> [URL] GitHub - vlad-s/gophircbot: gophircbot, an IRC bot written from scratch, in Go
- Shrugs with you
<someone> climate change is a hoax
<you> shrug
<gophircbot> ¯\_(ツ)_/¯
- Responds to standard CTCP
VERSION
,TIME
,PING
, and customRAW
andQUIT
- the custom CTCP events can only be invoked by a bot admin
- Add Go documentation
- Add back user commands
- Say, yell
- Join, part, invite, kick, ban/unban
- Weather
- giphy API
- Extract the core functionality into a framework - see gophirc
- Add command line flags/params
- For config
- For API config
- Add methods for event callbacks
- Connect the bot to a database, store info there
- Ignored users
- Load auto replies from an external source
- Many (?) more