Code Monkey home page Code Monkey logo

discord-push-board-listener's Introduction

Discord Board Push Listener

Einleitung

Dieses Repository dient als Beispiel wie ein Bot für das Plugin "Discord-Push: Forum" aussehen könnte. Es sollte nur von erfahrenen Benutzern mit Programmierkenntnissen genutzt werden. Es gibt keinen offiziellen Support für dieses Projekt.

Start with Docker

Voraussetzungen:

  • Docker muss installiert sein

Anleitung:

  1. Kone das Repository (z.B. via Konsole: [email protected]:HanashiDev/discord-push-board-listener.git)
  2. Benenne die Datei config/config.json.dist in config/config.json um.
  3. Fülle die Datei config/config.json aus. Siehe dazu weiter unten "Config ausfüllen".
  4. Starte auf der Konsole docker build . -t "discord-push" um das Docker Image zu bauen.
  5. Starte docker run --name discord-push -d discord-push um das Tool zu starten.

Start with pm2

Voraussetzung:

  • NodeJS muss installiert sind

Anleitung:

  1. Kone das Repository (z.B. via Konsole: [email protected]:HanashiDev/discord-push-board-listener.git)
  2. Benenne die Datei config/config.json.dist in config/config.json um.
  3. Fülle die Datei config/config.json aus. Siehe dazu weiter unten "Config ausfüllen".
  4. Installiere Abhängigkeiten via Konsole npm install -g typescript pm2
  5. Führe auf der Konsole npm install aus.
  6. Starte pm2 start ecosystem.config.json um das Tool zu starten

Config ausfüllen

botToken: der Bot-Token vom Discord-Bot

guildID: die ID des Discord-Servers

webhookURL: die Webhook-Url für Discord-Push Forum, kann im ACP unter "Konfiguration > Discord > Forum > Geheimer Schlüssel für richtigen Bot" in der Beschreibung eingesehen werden.

secret: der geheime Schlüssel für den Webhook, kann im ACP unter "Konfiguration > Discord > Forum > Geheimer Schlüssel für richtigen Bot" eingesehen und verändert werden.

discord-push-board-listener's People

Contributors

hanashi 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.