Giter VIP home page Giter VIP logo

nodebot's Introduction

Discord Bots

NodeBot

Welcome to the official GitHub page for NodeBot! You are welcome to look at all of the source code right here!
The source code is mainly for educational and demonstration purposes on building a Discord bot.
I advise you to only clone this repository for making pull requests, or making your own private version of the bot

Support Server

Setup

Acquiring Files

Get the files by running git clone https://github.com/CarelessInternet/NodeBot.git

Installing MySQL

MySQL is required to run the bot. However, you can go find a tutorial to install MySQL if you don't have it already, because I don't want to help for this step

Creating .env File

To do anything with the bot, create a file named .env and add all necessary environment variables that can be found in src/environment.d.ts

Installing Dependencies

Run the command npm i to install all dependencies. This is only needed once

Building

Run the command npm run build to compile the files

Creating MySQL Tables

Run the command npm run mysql to create all necessary tables. This is only needed once. Structure can be found in src/other/mysql.ts

Deploying Commands

Run the command npm run deploy to deploy all commands. This is only needed once if you're not adding new commands.
If you are, please run this command when you have done so

Running the Bot

Run the command npm start to run the bot in a development environment (ALWAYS use this for development)
Run the command npm run production to run the bot in a production environment

Issues

If you can't get the bot to run, join the support server and create a support ticket in #support.
For any bug reports, suggestions or general feedback, join the support server or submit an issue

Pull Requests

If you found any bug and created code to solve it, or updated anything important, feel free to submit a pull request so I can merge it into the default branch.
You can also submit a pull request if you made a new command and want it to be a part of the production bot

nodebot's People

Contributors

carelessinternet avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 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.