Bot-Bot is a bot for managing other IRC bots. Opers can manage a list of bots which will be promoted to a certain oper class upon login. The goal is to avoid having to add oper classes to ircd configuration for every bot and instead allowing opers to manage the bots with commands. Tested with InspIRCd.
!delbot <authname>
- Delete access
!listbots
- Get a list of all registered bots
!regbot <nick>
- Register a new bot
!resetbot <authname>
- Reset password
IDENTIFY <password>
- Login as a bot (in PRIVMSG)
- Get Ruby (for example via rbenv). Tested on Ruby 2.3
- Install bundler via
gem install bundler
- Clone this repository and
cd
to your clone cp config.yml.example config.yml
and modify the file as needed.- Run
bundler install
- Run
rake db:migrate
- Start the bot with
ruby bot.rb
- Run
git pull
in your clone - Proceed starting with installation step 5
All user data is stored in db/bot.db
. Include this file in your backups.
This is a simple sqlite database with one table.