aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-02-28 09:36:53 +0100
committerGravatar shtlrs <[email protected]>2023-02-28 09:36:53 +0100
commitbfa955417ae582a797c31dd462bb0279fb67c64e (patch)
tree7bcc63e9a36b0b9f981299c224ce5986f7105168
parentprefix sentry_dsn & trace_loggers with `bot.` (diff)
Update the note about ignoring .env
-rw-r--r--pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md
index f20a2829..03c2444b 100644
--- a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md
+++ b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md
@@ -56,7 +56,7 @@ GUILD.ID=YourDiscordTestServerIdHere
```
See [here](../creating-bot-account) for help with obtaining the bot token and [here](../obtaining-discord-ids#guild-id) for help with obtaining the guild's id
-**Note**: The `.env` file will be ignored by commits.
+**Note**: The `.env` is and should remain ignored by git, otherwise you risk pushing sensitive information.
##### 1.2 Setting up the script environment
The bootstrapping script is Python code like any other. To run it locally, you will need the right version of Python with the necessary packages installed:
@@ -606,7 +606,7 @@ We understand this is tedious which is why we **recommend** using the [automatic
The second file you need to create is the one containing the environment variables, and needs to be named `.env`.
Inside, add the line `BOT.TOKEN=YourDiscordBotTokenHere`. See [here](../creating-bot-account) for help with obtaining the bot token.
-**Note**: The `.env` file will be ignored by commits.
+**Note**: The `.env` is and should remain ignored by git, otherwise you risk pushing sensitive information.
---