erajtob/discosm-bot
Discord bot server for Gamocosm to manage Gamocosm Minecraft server from Discord.
44
This is a Discord bot that allows you to control your Gamocosm server from a text channel. Refer to the Gamocosm api documentation (Gamocosm/Gamocosm issue #98).
Included is a Python wrapper for the Gamocosm API (api.py
). You are free to use it for your own projects.
api.py
Python wrapper for the Gamocosm APIapp.py
Discord.py appcommando.py
All registered commands for the bot as Discord.py Cogspip install -r requirements.txt
to install packagesenv-defaults.txt
and rename to .env
. Populate with your own configuration
serverId
: Gamocosm server idapiKey
: Gamocosm api key (under advanced tab in server settings)discordKey
: The Discord bot api token from step 1discordChannel
: The id for the channel the bot should output messages to. Follow this tutoriallogChannel
: The id for the channel the bot should output all LOG messages to. Follow this tutorial.help
for a list of commandsRefer to Docstrings and Comments for function documentation. You can add new commands as a class in commando.py
docker pull erajtob/discosm-bot