mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Audio] Clarity changes for the API info commands (#2733)
* Clarity changes for the API info commands * Remove unnecessary f-string
This commit is contained in:
parent
68590dfdb8
commit
132545e057
@ -592,15 +592,15 @@ class Audio(commands.Cog):
|
|||||||
async def spotifyapi(self, ctx):
|
async def spotifyapi(self, ctx):
|
||||||
"""Instructions to set the Spotify API tokens."""
|
"""Instructions to set the Spotify API tokens."""
|
||||||
message = _(
|
message = _(
|
||||||
f"1. Go to Spotify developers and log in with your Spotify account\n"
|
"1. Go to Spotify developers and log in with your Spotify account.\n"
|
||||||
"(https://developer.spotify.com/dashboard/applications)\n"
|
"(https://developer.spotify.com/dashboard/applications)\n"
|
||||||
'2. Click "Create An App"\n'
|
'2. Click "Create An App".\n'
|
||||||
"3. Fill out the form provided with your app name, etc.\n"
|
"3. Fill out the form provided with your app name, etc.\n"
|
||||||
'4. When asked if you\'re developing commercial integration select "No"\n'
|
'4. When asked if you\'re developing commercial integration select "No".\n'
|
||||||
"5. Accept the terms and conditions.\n"
|
"5. Accept the terms and conditions.\n"
|
||||||
"6. Copy your client ID and your client secret into:\n"
|
"6. Copy your client ID and your client secret into:\n"
|
||||||
"`{prefix}set api spotify client_id,your_client_id "
|
"`{prefix}set api spotify client_id,<your_client_id_here> "
|
||||||
"client_secret,your_client_secret`"
|
"client_secret,<your_client_secret_here>`"
|
||||||
).format(prefix=ctx.prefix)
|
).format(prefix=ctx.prefix)
|
||||||
await ctx.maybe_send_embed(message)
|
await ctx.maybe_send_embed(message)
|
||||||
|
|
||||||
@ -660,7 +660,7 @@ class Audio(commands.Cog):
|
|||||||
"6. Click on Create Credential at the top.\n"
|
"6. Click on Create Credential at the top.\n"
|
||||||
'7. At the top click the link for "API key".\n'
|
'7. At the top click the link for "API key".\n'
|
||||||
"8. No application restrictions are needed. Click Create at the bottom.\n"
|
"8. No application restrictions are needed. Click Create at the bottom.\n"
|
||||||
"9. You now have a key to add to `{prefix}set api youtube api_key,your_api_key`"
|
"9. You now have a key to add to `{prefix}set api youtube api_key,<your_api_key_here>`"
|
||||||
).format(prefix=ctx.prefix)
|
).format(prefix=ctx.prefix)
|
||||||
await ctx.maybe_send_embed(message)
|
await ctx.maybe_send_embed(message)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user