diff options
| author | 2022-03-28 09:17:22 +0400 | |
|---|---|---|
| committer | 2022-03-28 09:17:22 +0400 | |
| commit | dd55548bf67a670e74b8a3a0424241eecd0f2d48 (patch) | |
| tree | dfd046e793c1307a8f6e466adf225e7e32188fd4 | |
| parent | Update 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: Shom770 <[email protected]>
| -rw-r--r-- | pydis_site/apps/content/resources/guides/python-guides/subclassing_bot.md | 2 |
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 bd8cbdc8..be9bb6e8 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 @@ -25,7 +25,7 @@ class CustomBot(commands.Bot): async def start(self, *args, **kwargs): # here you are overriding the default start method. You can do some code here for example establish a database connection - #as shown in this example below + # as shown in this example below self.db = await aiosqlite.connect('database file name.db') await super().start(*args, **kwargs) |