Document Forbidden exception in CommandTree.sync

This commit is contained in:
Rapptz 2022-04-03 22:57:32 -04:00
parent 1458251736
commit 907d5e0ee7

View File

@ -854,6 +854,8 @@ class CommandTree(Generic[ClientT]):
-------
HTTPException
Syncing the commands failed.
Forbidden
The client does not have the ``applications.commands`` scope in the guild.
ClientException
The client does not have an application ID.