aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMango0x45 <thomasvoss@live.com>2020-07-24 11:25:36 +0000
committerMango0x45 <thomasvoss@live.com>2020-07-24 11:25:36 +0000
commit9c25db2450db56dc06f3b01056afcb424184e3ff (patch)
treeada4debff33ae939493e116eed7fb9ff11fcfb4d
parent4b0c7cb4a432d4797b9597e364ae363052aa0ea8 (diff)
downloadsteve-bot-9c25db2450db56dc06f3b01056afcb424184e3ff.tar
steve-bot-9c25db2450db56dc06f3b01056afcb424184e3ff.tar.gz
steve-bot-9c25db2450db56dc06f3b01056afcb424184e3ff.tar.bz2
steve-bot-9c25db2450db56dc06f3b01056afcb424184e3ff.tar.lz
steve-bot-9c25db2450db56dc06f3b01056afcb424184e3ff.tar.xz
steve-bot-9c25db2450db56dc06f3b01056afcb424184e3ff.tar.zst
steve-bot-9c25db2450db56dc06f3b01056afcb424184e3ff.zip
Updated readme
Diffstat (limited to '')
-rw-r--r--readme.md17
1 files changed, 7 insertions, 10 deletions
diff --git a/readme.md b/readme.md
index f1c839b..245abe1 100644
--- a/readme.md
+++ b/readme.md
@@ -1,13 +1,6 @@
# Minecraft Bedrock Discord Bot
## How to
-Make a file called `config.json` and add
-```json
-{
- "token": "your_bot_token"
-}
-```
-
Launch the bot with `python3 main.py` and you're ready to go. Unless dependencies. Dependencies are google cloud and discord.
Install the dependencies with `python -m pip install -r requirements.txt`
@@ -16,13 +9,17 @@ A few "dangerous" commands such as `!purge` are restriced to `bot_masters`, to a
```json
{
"token": "your_bot_token",
- "bot_masters": <users_discord_id>
+ "<guild_id>": {
+ "bot_masters": <users_discord_id>
+ }
}
```
+`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 <var_name> <var_value>`
+A user added as a botmaster will be able to edit the config via discord with the command `!setvar <var_name> <var_value>`
`!setvar` also supports lists which can be added like so: `!setvar <var_name> [<index 0>, <index 1>]`
-This bot was built as a fork of [celesteBot](https://github.com/CelesteClassic/celestebot), so a lot of code is recycled.
+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.