Skip to content

Self-hosted discord bot to control your MCSS instance.

License

Notifications You must be signed in to change notification settings

stefmmm/Commander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commander

Self-hosted discord bot to control your MCSS instance.

Installation

Prerequisites:

  • Python 3.9
  • Discord Bot Token

.ENV file

Dont forget to change rename .env.example to .env and change it's contents:

BOT_TOKEN=replace with bot token
BOT_OWNER=unused for now
BOT_GUILD=your discord server id
MCSS_KEY=mcss api key, check mcss docs for info
MCSS_API=http://yourapiurl.local:25560

Installing required packages:

  pip install -r requirements.txt

Run Locally

Easy!

  python3 ./commander.py

Alternatively:

  py ./commander.py

Usage

The bot makes use of discord slash commands, these are the currently implemented commands:

/server start (server name)
/server stop (server name)

Notes

Currently only the bot owner can execute commands, regardless of the BOT_OWNER value in the .ENV file

About

Self-hosted discord bot to control your MCSS instance.

Topics

Resources

License

Stars

Watchers

Forks

Languages