Skip to content

Arcath/RIRCB2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RIRCB2 is a re-write of RIRCB that is designed to take a more human readable input. Where as in RIRCB you wouls call the math function by saying “!math 1+1” this new bot works on “What is 1+1”.

The first step is to set the basic options for your bot, do that by calling

rake bot:configure

This will ask for a nickname and a password, if you dont enter a password the bot wont try to identify when it joins a server.

You now need to add some servers for the bot to use. The bot comes with the settings for the popular servers so run

rake server:list

This will give you a list of the avliable servers, if the server you want isnt in this list see Adding a Server below. If the config you want is in the list then all you need to do is enable it, so say you want your bot to connect to freenode:

rake server:enable["freenode"]

This will enable freenode. To view the enabled servers run

rake server:enabled

Once you have a server enabled its time to add some channels. To connect to #rircb on freenode you would:

rake channel:add["freenode","#rircb"]

Its now time to start your bot!

rake bot:start
rake bot:configure                   # Configure the Bot
rake bot:start                       # Starts the Bot
rake bot:terminate                   # Kills the bot process, try not to us...
rake channel:add[server,channel]     # Add a channel
rake channel:remove[server,channel]  # Remove Channel
rake help                            # Help Message
rake server:add[key,server,port]     # Add a server to the config
rake server:disable[server]          # Disable a server
rake server:enable[server]           # Enable a server
rake server:enabled                  # List enabled servers
rake server:list                     # List avaliable servers

About

A re-code of RIRCB, instead of changing the code this is re-write from scratch

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors