Git Product home page Git Product logo

d3-discord-bot's Introduction

D3-DISCORD-BOT

D3 ist ein Discord Bot um die API von dnddeutsch.de zu verwenden.

Aktuell befindet sich der Bot noch in Entwicklung und wird erweitert.

⚠️ Verwendung auf eigene Gefahr

Requirements

  • Discord Client ID
  • Discord Bot Token
  • Node.js 16.11.0 oder höher

🚀 Getting Started

git clone https://github.com/hartmann-dev/d3-discord-bot.git
cd d3-discord-bot
npm install

⚙️ Konfiguration

Kopiere config.json.example nach config.json und passe die Werte an

⚠️ Mache niemals deine Client ID und dein Bot Token öffentlich ⚠️

{
  "TOKEN": "",
  "CLIENT_ID": "",
  "REST_VERSION": "10",
  "D3_BASE_URL": "https://www.dnddeutsch.de",
  "D3_API_BASE_URL": "https://www.dnddeutsch.de/tools/json.php",
  "D3_API_VERSION": "0.7"
  "DICT_MAX_RESULTS": 3
}

🎂 Bot einladen

Benötigte Rechte

  • Read Messages/View Channels
  • Send Messages
  • Manage Messages
https://discord.com/api/oauth2/authorize?client_id=CLIENT_ID&permissions=PERMISSIONS&scope=bot%20applications.commands

🔥 Bot starten

Entwicklung

npm run dev

📝 Befehle

🔎 Übersetzung

/d3 dict [suche]

Optionen:

  • mi: Magische Gegenstände berücksichtigen (Standard: True)
  • mo: Monster berücksichtigen (Standard: True)
  • sp: Zaubersprüche berücksichtigen (Standard: True)
  • it: Ausrüstung berücksichtigen (Standard: True)
  • misc: Sonstiges berücksichtigen (Standard: True)

Bildschirmfoto 2022-08-23 um 12 25 46

🗺 Roadmap

  • Hilfe
  • Übersetzung
  • Monster
  • Schatzgenerator
  • ...

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.