aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hunter2807 <[email protected]>2021-09-01 00:46:57 +0530
committerGravatar GitHub <[email protected]>2021-08-31 12:16:57 -0700
commitfce68e91a0dc8a58ffead61d933d2ded7e32e0f6 (patch)
tree42107c5f9696b0c05bab84b845493c2767646ed3
parentMerge pull request #1779 from python-discord/experiments/akarys/check-licenses (diff)
Rewording botvars.md tag (#1786)
* Reword botvar.md Co-authored-by: Steele Farnsworth <[email protected]>
-rw-r--r--bot/resources/tags/botvar.md (renamed from bot/resources/tags/bot_var.md)2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/resources/tags/bot_var.md b/bot/resources/tags/botvar.md
index 6833b3cd8..3db6ae7ac 100644
--- a/bot/resources/tags/bot_var.md
+++ b/bot/resources/tags/botvar.md
@@ -1,4 +1,4 @@
-Python allows you to set custom attributes to class instances, like your bot! By adding variables as attributes to your bot you can access them anywhere you access your bot. In the discord.py library, these custom attributes are commonly known as "bot variables" and can be a lifesaver if your bot is divided into many different files. An example on how to use custom attributes on your bot is shown below:
+Python allows you to set custom attributes to most objects, like your bot! By storing things as attributes of the bot object, you can access them anywhere you access your bot. In the discord.py library, these custom attributes are commonly known as "bot variables" and can be a lifesaver if your bot is divided into many different files. An example on how to use custom attributes on your bot is shown below:
```py
bot = commands.Bot(command_prefix="!")