Skip to content

gophircbot, an IRC bot written from scratch, in Go

License

Notifications You must be signed in to change notification settings

vlad-s/gophircbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gophircbot

GoDoc Go Report Card

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.

Description

The bot is currently a work in progress.

Framework managed events

Bot managed events

  • 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 custom RAW and QUIT - the custom CTCP events can only be invoked by a bot admin

To do

  • 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

About

gophircbot, an IRC bot written from scratch, in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published