mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 16:32:59 +00:00
Document Forbidden exception in CommandTree.sync
This commit is contained in:
@@ -854,6 +854,8 @@ class CommandTree(Generic[ClientT]):
|
|||||||
-------
|
-------
|
||||||
HTTPException
|
HTTPException
|
||||||
Syncing the commands failed.
|
Syncing the commands failed.
|
||||||
|
Forbidden
|
||||||
|
The client does not have the ``applications.commands`` scope in the guild.
|
||||||
ClientException
|
ClientException
|
||||||
The client does not have an application ID.
|
The client does not have an application ID.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user