Browse Source

Document Forbidden exception in CommandTree.sync

pull/7791/head
Rapptz 3 years ago
parent
commit
907d5e0ee7
  1. 2
      discord/app_commands/tree.py

2
discord/app_commands/tree.py

@ -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.

Loading…
Cancel
Save