Skip to content

jyc/lyrebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lyrebot

Lyrebot is a tiny IRC bot for forwarding messages to offline users.

You can build it using car:

$ car reqs              # List dependencies.
$ opam install ...      # Install the ones you don't have.
$ car opt               # Build, output to ./main.native.

./main.native -help displays a help message:

$ ./main.native -help
Usage: lyrebot [options]
Lyrebot IRC Bot
Copyright 2016 Jonathan Y. Chan <[email protected]>
All rights reserved.
  -help     Print a synopsis of options.
  -host     The host to connect to.
  -service  The service or port to connect to.
  -nick     The nick to use. Also used for realname, user, etc.
  -channel  The channel to connect to.

Then when you send a message like this (in the channel or as a private message):

<jyc`> @jyc Long time no see! How are you doing?

... you get a confirmation as a private message:

<lyrebot> I'll forward your message the next time jyc logs in.

... and jyc gets a private message the next time he's online:

<lyrebot> *** You've got mail! ***
<lyrebot> 10:14 2/3 (5d ago)  <jyc`> @jyc Long time no see! How are you doing?

About

IRC bot to forward messages to offline users.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published