update docs

This commit is contained in:
Victor Kotlin 2021-09-12 13:41:44 +03:00
parent 7cfa060187
commit 21d8c0c655

View file

@ -27,7 +27,7 @@ class BoticordWebhook:
Parameters Parameters
---------- ----------
bot: :class:`commands.Bot` | :class:`commands.AutoShardedBot` bot :class:`commands.Bot` | :class:`commands.AutoShardedBot`
The discord.py Bot instance The discord.py Bot instance
""" """
@ -49,9 +49,9 @@ class BoticordWebhook:
Parameters Parameters
---------- ----------
route: str route str
Bot's webhook route. Must start with ``/``. Defaults - ``/bot``. Bot's webhook route. Must start with ``/``. Defaults - ``/bot``.
hook_key: str hook_key str
Webhook authorization key. Webhook authorization key.
Returns Returns
@ -97,7 +97,7 @@ class BoticordWebhook:
Parameters Parameters
---------- ----------
port: int port :class:`int`
The port to run the webhook on. The port to run the webhook on.
""" """
self.bot.loop.create_task(self._run(port)) self.bot.loop.create_task(self._run(port))