Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MCBE-Speedrunning/Steve-Bot
A discord bot made for the minecraft bedrock speedrunning server
https://github.com/MCBE-Speedrunning/Steve-Bot
Last synced: about 1 month ago
JSON representation
A discord bot made for the minecraft bedrock speedrunning server
- Host: GitHub
- URL: https://github.com/MCBE-Speedrunning/Steve-Bot
- Owner: MCBE-Speedrunning
- License: unlicense
- Created: 2020-05-06T10:06:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-10T12:16:41.000Z (4 months ago)
- Last Synced: 2024-08-10T21:08:19.151Z (4 months ago)
- Language: Python
- Homepage:
- Size: 1.36 MB
- Stars: 11
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- starred - MCBE-Speedrunning/Steve-Bot - A discord bot made for the minecraft bedrock speedrunning server (Python)
README
# Minecraft Bedrock Discord Bot
## How to
Launch the bot with `python3 main.py` and you're ready to go, unless dependencies are missing. These are google cloud and discord.Install the dependencies with `python -m pip install -r requirements.txt`.
A few "dangerous" commands such as `!purge` are restricted to `bot_masters`. You can add botmasters in `config.json`. Example:
```json
{
"token": "your_bot_token",
"": {
"bot_masters":
}
}
```
`guild_id` is the ID of the discord server in the form of a string while user IDs are integers.You can also use lists, for example: `"bot_masters": [280428276810383370, 99457716614885376]`.
A user added as a botmaster will be able to edit the config via discord with the command `!setvar `.
`!setvar` also supports lists which can be added like so: `!setvar [, ]`.This bot was built as a fork of [celesteBot](https://github.com/CelesteClassic/celestebot), so a lot of code is recycled.
Feel free to make a pull request or use the code here.## Container
The discord bot can be ran into a container as well. To build the
container simply run```sh
podman build -t steve-bot .
```And to start it
```sh
podman run \
--volume="./blacklist.json:/app/blacklist.json:rw"\
--volume="./api_keys.json:/app/api_keys.json:rw"\
--volume="./config.json:/app/config.json:rw" \
--volume="./custom_commands.json:/app/custom_commands.json:rw" \
--volume="./fair.json:/app/fair.json:rw" \
--volume="./runs_blacklist.json:/app/runs_blacklist.json:rw" \
--name steve-bot --restart no --replace -it steve-bot:latest
```