Coder Social home page Coder Social logo

equibot's Introduction

equibot

Discord Bot for Equilibrium, a Torn City faction.

Requirements

Other bits needed:

Installation

  • In the parent directory where you want to clone this repo. run the following:
    • git clone https://github.com/dclose73/equibot
  • In the folder from where you ran the git command, run cd equibot and then run npm install.
  • If you get any error about python or msibuild.exe or binding, review the requirements section
  • Copy auth.js.template to auth.js and fill out the required fields.
  • Copy config.js.template to config.js and fill out the required fields.

Starting the bot

To start the bot, run the following command: npm start

Keeping the bot running

If you want to run the bot in the background, you can use the pm2 process manager which is already installed as one of the dependencies. If you create an account online you can link to a web app dashboard monitor. If you choose to use a different method, you may remove the pm2 entry in package.json.

Start and Daemonize the application: pm2 start index.js

Add this process to your OS startup script: pm2 startup

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: https://finitereality.github.io/permissions-calculator/?v=0

Or you can use the discord developer portal where you created your bot.

equibot's People

Contributors

thecodesinger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.