Skip to content
forked from firegods/Tagsbot

This is the bot from Idiot's Guide, full with auto-responding debugger, example, tag and guide page commands, based on the communities GuideBot command handler by evie.codes.

License

Notifications You must be signed in to change notification settings

HarikYT/York-Dev

 
 

Repository files navigation

York Dev

This bot serves as one of the backbones of the Idiot's Guide Community, using the communities Guide Bot as a base framework, York Dev expands on it's functionalities with common error detection with solution, fun commands, as well as a tag and example command!

Requirements

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.

Installing Canvas Dependencies

OS Command
OS X 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

Downloading

In a command prompt in your projects 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-Dev and then run npm install
  • Rename config_example.json to config.json
  • Edit config.json and enter your token and other details as indicated. It should look something like this afterwards:
{
  "ownerId": ["146048938242211840","203089110397747200"],
  "token": "NO TOKEN FOR YOU",
  "defaultSettings" : {
    "prefix": "?",
    "afk": "false",
    "afkMessage": "is currently AFK, they will be back soon.",
    "social": "false",
    "modLogChannel": "mod-log",
    "modRole": "The Idiot's Staff",
    "adminRole": "Admin"
  }
}

Starting the bot

To start the bot, in the command prompt, run the following command: node app.js

Inviting to a guild

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

About

This is the bot from Idiot's Guide, full with auto-responding debugger, example, tag and guide page commands, based on the communities GuideBot command handler by evie.codes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%