aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2022-11-12 20:05:25 -0800
committerGravatar Xithrius <[email protected]>2022-11-12 20:05:25 -0800
commit45a47e5f1c791ae3ae31e6b295716eaffae7bb56 (patch)
tree8e9ac7fb8ce717bd516209e51a32bb90a2d4a3ee
parentbluenix's changes (diff)
Appeased the formatter
-rw-r--r--pydis_site/apps/content/resources/guides/python-guides/keeping-tokens-safe.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/pydis_site/apps/content/resources/guides/python-guides/keeping-tokens-safe.md b/pydis_site/apps/content/resources/guides/python-guides/keeping-tokens-safe.md
index 8e9f7075..9d523b4b 100644
--- a/pydis_site/apps/content/resources/guides/python-guides/keeping-tokens-safe.md
+++ b/pydis_site/apps/content/resources/guides/python-guides/keeping-tokens-safe.md
@@ -2,14 +2,14 @@
title: Keeping Discord Bot Tokens Safe
description: How to keep your bot tokens safe and safety measures you can take.
---
-It's **very** important to keep a bot token safe,
-primarily because anyone who has the bot token can do whatever they want with the bot --
+It's **very** important to keep a bot token safe,
+primarily because anyone who has the bot token can do whatever they want with the bot --
such as destroying servers your bot has been added to and getting your bot banned from the API.
# How to Avoid Leaking your Token
-To help prevent leaking your token,
-you should ensure that you don't upload it to an open source program/website,
-such as replit and github, as they show your code publicly.
+To help prevent leaking your token,
+you should ensure that you don't upload it to an open source program/website,
+such as replit and github, as they show your code publicly.
The best practice for storing tokens is generally utilising .env files
([click here](https://vcokltfre.dev/tips/tokens/.) for more information on storing tokens safely).
@@ -26,4 +26,4 @@ Following these steps will create a new token for your bot, making it secure aga
The old token will stop working though, so make sure to replace the old token with the new one in your code if you haven't already.
# Summary
-Make sure you keep your token secure by storing it safely, not sending it to anyone you don't trust, and regenerating your token if it does get leaked. \ No newline at end of file
+Make sure you keep your token secure by storing it safely, not sending it to anyone you don't trust, and regenerating your token if it does get leaked.