mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
[commands] Add note for command tree in Bot's docstring
This commit is contained in:
parent
c6d0c82d66
commit
ae1979d17a
@ -1289,6 +1289,10 @@ class Bot(BotBase, discord.Client):
|
|||||||
This class also subclasses :class:`.GroupMixin` to provide the functionality
|
This class also subclasses :class:`.GroupMixin` to provide the functionality
|
||||||
to manage commands.
|
to manage commands.
|
||||||
|
|
||||||
|
Unlike :class:`discord.Client`, This class does not require manually setting
|
||||||
|
a :class:`~discord.app_commands.CommandTree` and is automatically set upon
|
||||||
|
instantiating the class.
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
-----------
|
-----------
|
||||||
command_prefix
|
command_prefix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user