GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - devblack/YakuzaBot: A basic irc bot

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
config
config
 
 
lib
lib
 
 
.gitattributes
.gitattributes
 
 
Centos
Centos
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
RunBot
RunBot
 
 
Ubuntu
Ubuntu
 
 
loader.php
loader.php
 
 
run.php
run.php
 
 
wrun.bat
wrun.bat
 
 

Repository files navigation

YakuzaBot

A basic irc bot with some custom options and beautifully logs colors.

Instalation

  • 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).

HOW ADD COMMANDS?

  • 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;

TO RUN BOT

CentOS/Ubuntu

  1. Copy all bot files to root dir
  2. 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)
  3. Go back to YakuzaBot main dir and type in terminal: bash RunBot and press Ctrl + a + d
  4. Conneted to IRC-SERVER and join to your main-channel and type "!help".
  5. have fun.

Windows

  1. Go to bot files and Configure the bot credentials in config/config.ini and saved it.
  2. open "wrun.bat".
  3. Conneted to IRC-SERVER and join to your main-channel and type "!help".
  4. have fun.

More improved bot?

Contact me.

About

A basic irc bot

Topics

irc-botnode-irc-botphp-bot

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.