mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix scope typo in FAQ
This commit is contained in:
parent
cdf787186e
commit
9d17c3acde
@ -490,8 +490,8 @@ My bot's commands are not showing up!
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
1. Did you :meth:`~.CommandTree.sync` your command? Commands need to be synced before they will appear.
|
||||
2. Did you invite your bot with the correct permissions? Bots need to be invited with the ``application.commands``
|
||||
2. Did you invite your bot with the correct permissions? Bots need to be invited with the ``applications.commands``
|
||||
scope in addition to the ``bot`` scope. For example, invite the bot with the following URL:
|
||||
``https://discord.com/oauth2/authorize?client_id=<client id>&scope=applications.commands+bot``.
|
||||
Alternatively, if you use :func:`utils.oauth_url`, you can call the function as such:
|
||||
``oauth_url(<other options>, scopes=("bot", "application.commands"))``.
|
||||
``oauth_url(<other options>, scopes=("bot", "applications.commands"))``.
|
||||
|
Loading…
x
Reference in New Issue
Block a user