aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/resources/guides
diff options
context:
space:
mode:
authorGravatar Diabolical5777 <[email protected]>2022-07-10 20:38:45 +0400
committerGravatar GitHub <[email protected]>2022-07-10 20:38:45 +0400
commitf922b76b570062bcef4ec3e9ceffcefe0d60a0d6 (patch)
tree3c1d851aad104db6f3b7a9753ed68ac4f4e4f8c1 /pydis_site/apps/content/resources/guides
parentUpdate pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md (diff)
Update pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md
Co-authored-by: Bluenix <[email protected]>
Diffstat (limited to 'pydis_site/apps/content/resources/guides')
-rw-r--r--pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md b/pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md
index fc1cdb7d..91df2199 100644
--- a/pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md
+++ b/pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md
@@ -4,7 +4,7 @@ description: "Subclassing the discord.py Bot class to add more functionality and
---
## Basic Subclassing
-First, a [basic article](https://www.codesdope.com/course/python-subclass-of-a-class/) on subclassing will provide some fundamental knowledge, which is highly suggested before moving on to this topic, as subclassing [Bot](https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Bot) can ultimately be a complicated task.
+First, a [basic article](https://www.codesdope.com/course/python-subclass-of-a-class/) on subclassing will provide some fundamental knowledge, which is highly suggested before moving on to this topic, as subclassing [`Bot`](https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Bot) can ultimately be a complicated task.
## The benefits of subclassing bot
Subclassing Bot can be very beneficial as it provides you with more control and customisability of how your bot functions, also allowing you to add extra features, such as custom bot attributes or methods. For example, the default [Context](https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Context) can be overriden to add more functionality.