From 32808843cca4bc857727c021e2b76bff699d5dbe Mon Sep 17 00:00:00 2001 From: developomp Date: Sun, 19 Sep 2021 19:18:38 +0900 Subject: [PATCH] removed unnecessary metadata, fixed setup instructions that are not up to date, removed result image, and improved general readability. --- docs/3-bot/2-setting-up.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/docs/3-bot/2-setting-up.md b/docs/3-bot/2-setting-up.md index 0763959..fd6f0cd 100644 --- a/docs/3-bot/2-setting-up.md +++ b/docs/3-bot/2-setting-up.md @@ -1,18 +1,11 @@ ---- -sidebar_position: 2 ---- - # Setting up :::info -This documentation is for the [dev branch](https://github.com/llama-bot/llama-bot/tree/dev) (javascript) instead of the master branch (python). +This documentation uses the [dev branch](https://github.com/llama-bot/llama-bot/tree/dev) (javascript) instead of the master branch (python). ::: In this documentation, you will learn how to set up the [llama discord bot](https://github.com/llama-bot/llama-bot). -Result:
-![example image of bot usage](/img/example.png) - ## Steps ### Pre-requirements @@ -64,6 +57,10 @@ Assumes UNIX-like environment (Linux, BSD, Mac, etc.) ```text title=".env" TOKEN=PUT_YOUR_DISCORD_BOT_TOKEN_HERE + TESTING=true # set it to false on production + PREFIX_PROD=PUT_PRODUCTION_DEFAULT_PREFIX_HERE + PREFIX_DEV=PUT_DEVELOPMENT_DEFAULT_PREFIX_HERE + OWNER_IDS=ID1,ID2,ID3,... ``` 4. Create `secret` directory in the `src` directory, rename the firebase admin key generated during the [Firebase](#firebase) setup to `firebase-adminsdk.json`, and put it in the `secret` directory.