A basic irc bot with some custom options and beautifully logs colors.
- For CentOS and Fedora: Copy the Centos file to root dir of your vps and type in terminal "bash Centos".
- For Ubuntu and Debian: Copy the Ubuntu file to root dir of your vps and type in terminal "bash Ubuntu".
- For Windows: Guide (Only until step 3).
- Step one, add a new command in config/config.ini, find "bot[commands]" and add !NEWCOMMAND inside of the " ", separated by a space from the other commands.
- Step two, Open the file lib/irc.yakuza.php and look up the "ResponseType(" name and read the commented text.
- Step three, in the same file look up the "FindCommands(" and read the commented text.
//Example: Step one
bot[commands] = "!HELP !CODER !MY_NEW_COMAND"
//Example: Step two
case '!MY_NEW_COMAND':
irc::ResponseType(0, [
'method' => 0,
'channel' => $channel,
'message' => "Hello $nick, my master is D3BL4CK ♥"
]);
break;
- Copy all bot files to root dir
- Go to bot dir: cd YakuzaBot/ and Configure the bot credentials in config/config.ini and saved it (Here you can use any editor like vim, nano or visual code)
- Go back to YakuzaBot main dir and type in terminal: bash RunBot and press Ctrl + a + d
- Conneted to IRC-SERVER and join to your main-channel and type "!help".
- have fun.
- Go to bot files and Configure the bot credentials in config/config.ini and saved it.
- open "wrun.bat".
- Conneted to IRC-SERVER and join to your main-channel and type "!help".
- have fun.
Contact me.