Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 855 Bytes

README.md

File metadata and controls

48 lines (31 loc) · 855 Bytes

discordjs-console

Stream your gameserver console on Discord.

This is a very simple implementation of mTxServ API with Discord.

Demo

mTxServ credential

Discord

Create Bot

You need to create credential on Discord: https://discordapp.com/developers/applications/

  • Create Application
  • Go to settings -> Bot
  • Click on button Add Bot
  • Get token
  • Set Public bot to off
  • Go to OAuth2
  • In scope section, set Bot to on
  • Set bot permission Send Message to on and use the URL generated to add it on your server

Install

npm install

Configuration

To use this bot, you need to set your configuration in config.json :

cp config.json.dist config.json

Usage

node index.js