User Tools

Site Tools


sep93_irc_bot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sep93_irc_bot [2019/03/21 11:15] (current)
admin created
Line 1: Line 1:
 +====== Sep93 IRC bot ======
  
 +Get the latest version of the bot:
 +
 +  git clone http://​nvmtech.co.uk/​git/​sep93
 +  ​
 +Copy the example IRC config file and edit it to point to your IRC server:
 +
 +  cp conf/​irc.example.php conf/​irc.php
 +  ​
 +Create a database for the bot to use:
 +
 +  sudo mysql -u root
 +  create database sep93;
 +  grant all on sep93.* to your_username@localhost identified by '​your_password'; ​
 +  ​
 +Copy the example DB config file and edit it with your mysql database user settings:
 +
 +  cp conf/​db.example.php conf/db.php
 +  ​
 +Now, create the basic tables you'll need to get started
 +
 +  mysql -u your_username -p your_password sep93 < sep93.sql
 +  ​
 +Start the bot!
 +
 +  php ircbot.php
 +  ​
 +  ​
sep93_irc_bot.txt ยท Last modified: 2019/03/21 11:15 by admin