Coder Social home page Coder Social logo

nhalstead / simple-discord-bot Goto Github PK

View Code? Open in Web Editor NEW
9.0 4.0 11.0 526 KB

This is just a Simple Discord Bot that allows you to create commands using plugins.

License: The Unlicense

JavaScript 99.84% Shell 0.16%
bot discord opensource simple-bot

simple-discord-bot's Introduction

Simple-Discord-Bot

This is just a Simple Discord Bot that runs on Node JS.

The bot is open source as it's on Github for everyone to use and modify.

Getting Started

To get the bot up and running download the source code and following the next few steps.

  1. Install the required packages
    npm install
  2. Copy the file .env.example and name it .env
  3. Fill all values in the .env file
    • You need to go to the Discord Developer Portal and create a bot (if you don't have one yet)
    • Goto the "General Information" page and copy the "Application ID" and paste it as the DISCORD_APPID.
    • Goto the "Bot" page and click on Copy found in the Token area, then paste that as the DISCORD_TOKEN.
  4. Ready to start programming a bot! To start the bot you can run npm start, wait a moment till you see Authentication Complete!

Configuration

To configure the bot you can use a dot env file for setup of your Bot token. Do not commit your secrets to GitHub! Use the .env file!

How to use

Everything in this project uses the concept of "plugins" for the commands.

You can create and add your own commands by creating a new JS file in the "plugins" (found in src/plugins) folder.

The file gets automatically loaded when the server starts up. Be sure to take a look at the other plugins that already in this project to see how to create a new one.

simple-discord-bot's People

Contributors

dependabot[bot] avatar nhalstead avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simple-discord-bot's Issues

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.