Skip to content

reliablesource/PHilliP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHilliP

PHilliP is an IRC bot written in PHP.

Installation

git clone git://github.com/JoshuaEstes/PHilliP.git
cd PHilliP
git submodule update --init --recursive
cp lib/config/services.yml.dist lib/config/services.yml
php phillip

Configure

Open up lib/config/services.yml and update the server, port, nickname, and trusted users.

Adding extra functionality

Create a new class and place it in the src/ folder, open up lib/config/services.yml and add that information to the services section. You will need to just give the class name and the location of the file.

In your construct of that class you will need to attach a listener to all the events you want your class to listen to. Server commands are name 'server.command.COMMAND' where COMMAND is the IRC command (such as PRIVMSG). You can see examples in some of the other classes.

About

php IRC bot =)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published