Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 799 Bytes

README.md

File metadata and controls

41 lines (31 loc) · 799 Bytes

Minecraft Manager

So far, it's meant to be a Discord bot to:

  • start/stop an azure vm (running Minecraft) through a user account (ie. without AAD access)
  • stream audio from youtube
  • engage in small talk

Dev Setup

Follow this to set up a dev environment:

Prerequisites

Recent versions of:

  • Azure CLI
  • Go

Config

Create a config.yml file and fill values based on config.yml.example. Alternatively, set them as environment variables.

To find the environment variables names - uppercase the YAML keys, join them with _ and add a MC_ prefix.

For example the environment variable for

bot:
    token:

would be MC_BOT_TOKEN

Run (dev)

Run the bot by running:

make run

Build

Build a binary by running:

make

This creates bin/mcbot