GithubHelp home page GithubHelp logo

h1ghbre4k3r / decentnoobbotts Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 610 KB

Push-only mirror of the original repository.

Home Page: https://git.bre4k3r.de/dev-bre4k3r/decentnoobbot

License: GNU General Public License v3.0

Dockerfile 0.17% TypeScript 91.34% JavaScript 8.49%

decentnoobbotts's Introduction

DecentNoobBot

pipeline status

Just a simple Discord-Bot written in TypeScript, running on NodeJS.

It uses a modular, event-based component system, which allows the possibility of adding new features and modules later on.

System Dependencies

  • NodeJS

Installation instructions

Installation on Linux

Via Terminal:

# Node.js v13.x

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_13.x | bash -
apt-get install -y nodejs

Installation on macOS

Via Homebrew (recommended):

brew install node

Via terminal:

curl "https://nodejs.org/dist/latest/node-${VERSION:-$(wget -qO- https://nodejs.org/dist/latest/ | sed -nE 's|.*>node-(.*)\.pkg</a>.*|\1|p')}.pkg" > "$HOME/Downloads/node-latest.pkg" && sudo installer -store -pkg "$HOME/Downloads/node-latest.pkg" -target "/"

Installation on Windows

Download Binaries from:

https://nodejs.org/en/#download

Setup

Required

  • Create a file named .env in the root folder of the project containing the following information:
BOT_TOKEN=<YOUR_BOT_TOKEN>
API_URL=<BASE_URL_OF_API>
AUTH_TOKEN=<TOKEN_FOR_THE_API>
  • Run the following command in the root-directory of the repository:
npm install # install all needed dependencies

Commands

Building

  • npm run build

Running (need to run npm run build first)

  • npm start run

Build & start

  • npm run build:start

decentnoobbotts's People

Contributors

h1ghbre4k3r avatar

Watchers

James Cloos 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.