THIS REPOSITORY IS ARCHIVED FOR HISTORICAL PURPOSES, THE CODE IS NOT RUNNABLE BECAUSE OF SOME DEPENDENCIES THAT CAN NOT RUN IN THE OLD VERSION. IF YOU WANT TO MAKE YOUR OWN BOT LIKE THIS BOT, YOU CAN CHECK Guide Bot, Guide Bot Class OR Misaki
This bot serves as one of the backbones of the Idiot's Guide Community, using the community's Guide Bot as a base framework, York Dev expands on its functionalities with common error detection with solution, fun commands, as well as a tag and example command!
gitcommand line (Windows|Linux|MacOS) installednodeVersion 8.0.0 or higherCarioYork Dev uses canvas, you will need to install all prerequisites for your operating system.
You also need your bot's token. This is obtained by creating an application in the Developer section of discordapp.com. Check the first section of this page for more info.
| OS | Command |
|---|---|
| OS X | sudo brew install pkg-config cairo pango libpng jpeg giflib |
| Ubuntu | sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ |
| Fedora | sudo yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel |
| Solaris | pkgin install cairo pango pkg-config xproto renderproto kbproto xextproto |
| Windows | Instructions on their wiki |
In a command prompt in your project's folder (wherever that may be) run the following:
git clone https://github.com/YorkAARGH/York-Dev.git
Once finished:
-
In the folder from where you ran the git command, run
cd York-Devand then runnpm install, this will install all required packages, then it will run the installer. -
You will be prompted to supply a number of access tokens and keys for various platforms, please follow the on screen instructions to complete the installation.
NOTE: A config file will be created for you.
To start the bot, in the command prompt, run the following command:
node app.js
To add the bot to your guild, you have to get an OAuth link for it.
You can use this site to help you generate a full OAuth Link, which includes a calculator for the permissions: Permissions Calculator
Discord now has his own permissions calculator and OAuth generator. Click here for the OAuth generator. Click on bot and you can select perms for the bot!