aboutsummaryrefslogtreecommitdiff
path: root/readme.md
blob: 3229893243d152b0bc30064b252b3a1313b90041 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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",
    "<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>`.
`!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.
Feel free to make a pull request or use the code here.
+6559 2022-08-27Version 5.3.0.Docile-Alligator2-3/+3 2022-08-26Minor bugs fixed.Docile-Alligator1-1/+5 2022-08-21Show an indicator for the current sort type.Docile-Alligator13-39/+145 2022-08-21Show an indicator for the current sort type in SortTypeBottomSheetFragment.Docile-Alligator9-27/+66 2022-08-16Version 5.3.0-beta1.Docile-Alligator2-4/+2 2022-08-16Receive events in HistoryPostFragment.Docile-Alligator1-6/+399 2022-08-15Update Redgifs API.Docile-Alligator4-13/+35 2022-08-15Show urls in ShareLinkBottomSheetFragment.Docile-Alligator2-2/+40 2022-08-15Apply custom theme to settings page.Docile-Alligator77-239/+518 2022-08-14Apply custom theme to the header of the navigation drawer.Docile-Alligator4-16/+14 2022-08-14Heading markdown fix (#908)Sergei Kozelko11-15/+165 2022-08-14Fix post content is not parsed in other types of posts.Docile-Alligator8-96/+131 2022-08-13Fix saved comments not shown when clicking Saved option in the bottom navigat...Docile-Alligator4-8/+4 2022-08-13Fix caption shown under the navbar in ViewRedditGalleryImageOrGifFragment.Docile-Alligator4-23/+37 2022-08-12Manage theme insertion callbacks behaviour (#892)Andrei Shpakovskiy1-25/+25 2022-08-12fixed renamed labelWladimir Kirianov1-1/+1 2022-08-12fixed typosWladimir Kirianov1-2/+2 2022-08-05Extra small font sizeDocile-Alligator7-0/+36 2022-08-05Set default position of cursor at the end of query (#842)Andrei Shpakovskiy1-0/+1 2022-08-05Move mAccessToken and mAccountName initialization upper (#841)Anatolii Afanasev1-3/+3 2022-08-05Apply FAB theme in CustomThemeListingActivity (#857)Sergei Kozelko1-0/+1 2022-08-05Fix loading previews after quick scroll (#861)Sergei Kozelko2-1/+8 2022-08-04Clear user flair.Docile-Alligator4-25/+55 2022-07-29Fixed linksWladimir Kirianov1-1/+1 2022-07-28Minor UI tweaks in ViewSubredditDetailActivity, ViewUserDetailActivity and Cu...Docile-Alligator12-27/+46 2022-07-28Update config.ymlWladimir Kirianov1-1/+1 2022-07-28Update translation contributors.Docile-Alligator1-19/+19