Code Monkey home page Code Monkey logo

discord.js-bot's Introduction

JS-Discord-Bot

An Open Source version of Cryptonix X and a basic frame for any discord.js bot. Integrates MongoDB as a solution for database!

Updated for Discord.js V12 woohoo

Made by HarutoHiroki#4000

Requirements

Optional tools

  • PM2 - NodeJS Module

How to setup

  1. Make a bot here and grab the token Image_Example1

  2. Fill in the required spots, such as token, prefix and change anything you like in config.json and customisation.json.

  3. To install all needed node modules, do npm install

  4. Install MongoDB Community Server for coins Database and settings.

  5. Start the bot by having the cmd/terminal inside the bot folder and type node .

  6. Enjoy!

(OPTIONAL) Keeping your bot online on a virtual private server

Want to start hosting your own bot? Well I have one recommended tool for youuuuuuuuuu :D

As mentioned in optional tools, PM2 is a useful tool that can help you keep your bot online and restart it whenever it crashes. To install it do npm i pm2 to install it for the repo only or do npm i pm2 -g to install it globally (need admin/sudo perms)

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.