Obeeron / universim-bot

Discord bot for Universim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Universim Discord Bot

Discord bot for Universim, a Minecraft server hosted with Minestrator.

Installation

Source

Use the package manager pip to install the dependencies.

git clone https://github.com/Obeeron/universim-bot.git
cd universim-bot
pip3 install -r requirements.txt

Then rename config.sample.yml to config.yml and complete it.

Docker

mkdir universim-bot
cd universim-bot
wget https://raw.githubusercontent.com/Obeeron/universim-bot/master/docker-compose.yml
wget https://raw.githubusercontent.com/Obeeron/universim-bot/master/config.sample.yml -O config.yml

Then complete the file config.yml.

Run

Source

python3 main.py

Docker

docker-compose up -d

Usage

Commands

  • !servinfo

    Sends the server status, its ip, and the number of players

Config

config.yml

minestrator:
  api_key: yourApiKey
  code_support: XXXXX

discord:
  bot_token: yourBotToken

server:
  name: serverName
  ip: serverIp

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

Discord bot for Universim

License:MIT License


Languages

Language:Python 94.8%Language:Dockerfile 5.2%