From 270792f8032b79041c59780677d4940993f8137b Mon Sep 17 00:00:00 2001 From: grey-cat-1908 Date: Fri, 22 Apr 2022 09:00:06 +0300 Subject: [PATCH] fix stupid docs --- docs/source/client.rst | 2 +- melisa/client.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/client.rst b/docs/source/client.rst index 9c5d198..edcbb19 100644 --- a/docs/source/client.rst +++ b/docs/source/client.rst @@ -21,7 +21,7 @@ RESTApp .. attributetable:: RESTApp -.. autoclass:: Client +.. autoclass:: RESTApp :inherited-members: diff --git a/melisa/client.py b/melisa/client.py index 035106b..da2d41d 100644 --- a/melisa/client.py +++ b/melisa/client.py @@ -27,6 +27,7 @@ class Client: """ This is the main instance which is between the programmer and the Discord API. This Client represents your bot. + Parameters ---------- token: :class:`str` @@ -48,6 +49,7 @@ class Client: If you pass a :class:`str` or a :class:`int`, it is interpreted as the global logging level to use, and should match one of **DEBUG**, **INFO**, **WARNING**, **ERROR** or **CRITICAL**, if :class:`str`. + Attributes ---------- user: :class:`~models.user.user.User`