Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

Latest commit

 

History

History
27 lines (21 loc) · 925 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 925 Bytes

Description

Discord Status Bot that fetches the gameservers status and notifies in discord

Usage

  • Checkout the code
  • Install Node js with npm
  • Run npm install in project folder to install all dependencies
  • Edit config.json and servers.json

Currently Supported Games

  • Battlefield Bad Company 2
  • Battlefield 3

Configuration Data:

token: Your discord bot token. Get it from here
prefix: Your bot prefix
commands_enabled: This will enable/disable the usage of bot commands in your discord channel
frequency: Frequency at which the status must be fetched and sent to discord

Servers Data:

game: bfbc2/bf3
host: your gameserver IP address
port: rcon port
name: fallback name. This name will be used when server is offline or not reachable
embed_channel: your discord channel ID where the embed will be sent