From c3057ee274adf7d314cf9a205305db92b3326591 Mon Sep 17 00:00:00 2001 From: Victor Kotlin Date: Fri, 24 Sep 2021 19:16:53 +0300 Subject: [PATCH] fix webhooks docs --- boticordpy/webhook.py | 4 ++-- docs/webhook.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boticordpy/webhook.py b/boticordpy/webhook.py index 80a5479..eb0e853 100644 --- a/boticordpy/webhook.py +++ b/boticordpy/webhook.py @@ -50,9 +50,9 @@ class BoticordWebhook: Parameters ---------- - route :class:`str` + route : :class:`str` Bot's webhook route. Must start with ``/``. Defaults - ``/bot``. - hook_key :class:`str` + hook_key : :class:`str` Webhook authorization key. Returns diff --git a/docs/webhook.rst b/docs/webhook.rst index 74d0337..0497c15 100644 --- a/docs/webhook.rst +++ b/docs/webhook.rst @@ -2,7 +2,7 @@ .. webhook: -BoticordWebhook +Webhooks --------------- .. autoclass:: boticordpy.BoticordWebhook :members: \ No newline at end of file