mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
[Docs] Correct set api examples to be consistent for Spotify (#5444)
* consistant usage * switch audiodb to youtube Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -2767,7 +2767,7 @@ list of key,values as described by the cog requesting this command.
|
|||||||
|
|
||||||
|
|
||||||
**Examples:**
|
**Examples:**
|
||||||
- ``[p]set api Spotify redirect_uri localhost``
|
- ``[p]set api spotify redirect_uri localhost``
|
||||||
- ``[p]set api github client_id,whoops client_secret,whoops``
|
- ``[p]set api github client_id,whoops client_secret,whoops``
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
@@ -2812,8 +2812,8 @@ set api remove
|
|||||||
Remove the given services with all their keys and tokens.
|
Remove the given services with all their keys and tokens.
|
||||||
|
|
||||||
**Examples:**
|
**Examples:**
|
||||||
- ``[p]set api remove Spotify``
|
- ``[p]set api remove spotify``
|
||||||
- ``[p]set api remove github audiodb``
|
- ``[p]set api remove github youtube``
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
- ``<services...>`` - The services to remove.
|
- ``<services...>`` - The services to remove.
|
||||||
|
|||||||
@@ -3138,7 +3138,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
Note: API tokens are sensitive, so this command should only be used in a private channel or in DM with the bot.
|
Note: API tokens are sensitive, so this command should only be used in a private channel or in DM with the bot.
|
||||||
|
|
||||||
**Examples:**
|
**Examples:**
|
||||||
- `[p]set api Spotify redirect_uri localhost`
|
- `[p]set api spotify redirect_uri localhost`
|
||||||
- `[p]set api github client_id,whoops client_secret,whoops`
|
- `[p]set api github client_id,whoops client_secret,whoops`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
@@ -3182,8 +3182,8 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
Remove the given services with all their keys and tokens.
|
Remove the given services with all their keys and tokens.
|
||||||
|
|
||||||
**Examples:**
|
**Examples:**
|
||||||
- `[p]set api remove Spotify`
|
- `[p]set api remove spotify`
|
||||||
- `[p]set api remove github audiodb`
|
- `[p]set api remove github youtube`
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
- `<services...>` - The services to remove."""
|
- `<services...>` - The services to remove."""
|
||||||
|
|||||||
Reference in New Issue
Block a user