Coder Social home page Coder Social logo

dev-sda1 / discbot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 29.68 MB

Started out as a side project for a discord server, but I have since decided to opensource it for others to use.

License: GNU General Public License v3.0

JavaScript 100.00%
discord-bot nodejs bot

discbot's Introduction

Discord Bot

Started out as a side project for a discord server, but I have since decided to opensource it for others to use. This project will likely not see any more updates as I look for other (more enjoyable) things to do instead.

Prerequisites:

  • NodeJS and npm
  • MongoDB set up and running (See this if you don't know how)
  • A decent enough server (I can run this fine on a 2GB Digitalocean droplet with 50GB storage)

How to set up

    1. Clone the repository to your directory of choice on your server. (It will create its own folder so keep this in mind) git clone https://github.com/dev-sda1/DiscBot.git This shouldn't take long to copy over if your provider's bandwidth is good enough
    1. Edit the config.json file in the storage folder to add your token and mongo account. Make sure it's secure! Click here if you don't know how
    1. Navigate to the root of the folder and run npm install && npm bot
    1. Check that your bot is online in the server!

Can't figure out bot permissions? Use this website

If you want it to keep running, see the guide below for how to run it with forever:

Running it under Forever

    1. Install forever using npm install forever
    1. Follow all the steps above until step 3.
    1. On step 3, use npm install && forever start bot to install all the required extras and to start it immediately.

To check logs, use forever logs and navigate to the directory it shows you. It's typically /root/.forever/[random_name].log

discbot's People

Contributors

dev-sda1 avatar dependabot[bot] avatar

Watchers

 avatar

Forkers

garvizz

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.