Skip to content

basilzuberi/PHIBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHIBot

Bot for the WLU/PHI Discord Server

The bot uses Node.js and the Discord.js library

Link a message's ID to the bot and have users react with an Emoji for them to gain a role, which makes it easier to send messages to anyone interested in recieving updates about the Computer Science Club's activities.

Extending the Bot

Extending the PHI bot is easy!

You can do it in just two steps:

  1. Put your function in commands.js Your function must be in the form function myfunc( msg ) { ... }, where msg is a Discord Message Object.
  2. Add your function to the module.exports object at the top of the file. The format is '!my_command' : myfunc.

That's it! Now messaging !my_command in discord will trigger the PHI bot to do its thing.

About

Bot for the WLU/PHI Discord Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published