Browse Source
[commands] Add note for command tree in Bot's docstring
pull/7792/head
I. Ahmad
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
discord/ext/commands/bot.py
|
|
@ -1289,6 +1289,10 @@ class Bot(BotBase, discord.Client): |
|
|
|
This class also subclasses :class:`.GroupMixin` to provide the functionality |
|
|
|
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 |
|
|
|
----------- |
|
|
|
command_prefix |
|
|
|