mirror of
https://github.com/boticord/boticordpy.git
synced 2024-11-11 19:07:29 +03:00
update docs
This commit is contained in:
parent
7cfa060187
commit
21d8c0c655
1 changed files with 4 additions and 4 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue