diff options
-rw-r--r-- | pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md | 6 |
1 files changed, 3 insertions, 3 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 060dfacb..381f25f1 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 @@ -14,9 +14,9 @@ There are two ways to subclass `commands.Bot`, as shown below: class CustomBot(commands.Bot): def __init__(self): super().__init__( - command_prefix=#your prefix here as a string - intents=#your intents here - #other kwargs can be put here + command_prefix= # Your prefix here as a string + intents= # Your intents here + # Other kwargs can be put here ) # custom bot attributes can be set here, for example: self.launch_time = datetime.datetime.utcnow() |