mirror of
https://github.com/MelisaDev/melisa.git
synced 2024-11-11 19:07:28 +03:00
fix stupid docs
This commit is contained in:
parent
e96ef5e058
commit
270792f803
2 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,7 @@ RESTApp
|
||||||
|
|
||||||
.. attributetable:: RESTApp
|
.. attributetable:: RESTApp
|
||||||
|
|
||||||
.. autoclass:: Client
|
.. autoclass:: RESTApp
|
||||||
:inherited-members:
|
:inherited-members:
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@ class Client:
|
||||||
"""
|
"""
|
||||||
This is the main instance which is between the programmer and the Discord API.
|
This is the main instance which is between the programmer and the Discord API.
|
||||||
This Client represents your bot.
|
This Client represents your bot.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
token: :class:`str`
|
token: :class:`str`
|
||||||
|
@ -48,6 +49,7 @@ class Client:
|
||||||
If you pass a :class:`str` or a :class:`int`, it is interpreted as
|
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**,
|
the global logging level to use, and should match one of **DEBUG**,
|
||||||
**INFO**, **WARNING**, **ERROR** or **CRITICAL**, if :class:`str`.
|
**INFO**, **WARNING**, **ERROR** or **CRITICAL**, if :class:`str`.
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
----------
|
----------
|
||||||
user: :class:`~models.user.user.User`
|
user: :class:`~models.user.user.User`
|
||||||
|
|
Loading…
Reference in a new issue