mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Replace links to v3-develop docs with links to stable docs (#3186)
* Update customcom.py * Update permissions.py * Create 3186.docs.rst * Create 3186.docs.rst * Rename 3186.docs.rst to 3186.misc.rst * Rename 3186.docs.rst to 3186.misc.rst
This commit is contained in:
parent
ab747d2432
commit
62b679b1b9
1
changelog.d/customcom/3186.misc.rst
Normal file
1
changelog.d/customcom/3186.misc.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
Replace links to ``v3-develop`` docs with links to ``stable`` docs in help of ``[p]cc create``.
|
||||||
1
changelog.d/permissions/3186.misc.rst
Normal file
1
changelog.d/permissions/3186.misc.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
Replace links to ``v3-develop`` docs with links to ``stable`` docs in ``[p]permissions explain``.
|
||||||
@ -212,7 +212,7 @@ class CustomCommands(commands.Cog):
|
|||||||
|
|
||||||
If a type is not specified, a simple CC will be created.
|
If a type is not specified, a simple CC will be created.
|
||||||
CCs can be enhanced with arguments, see the guide
|
CCs can be enhanced with arguments, see the guide
|
||||||
[here](https://red-discordbot.readthedocs.io/en/v3-develop/cog_customcom.html).
|
[here](https://docs.discord.red/en/stable/cog_customcom.html).
|
||||||
"""
|
"""
|
||||||
await ctx.invoke(self.cc_create_simple, command=command, text=text)
|
await ctx.invoke(self.cc_create_simple, command=command, text=text)
|
||||||
|
|
||||||
|
|||||||
@ -135,7 +135,7 @@ class Permissions(commands.Cog):
|
|||||||
"used).\n"
|
"used).\n"
|
||||||
" 5. Rules about the server a user is in (Global rules only).\n\n"
|
" 5. Rules about the server a user is in (Global rules only).\n\n"
|
||||||
"For more details, please read the [official documentation]"
|
"For more details, please read the [official documentation]"
|
||||||
"(https://red-discordbot.readthedocs.io/en/v3-develop/cog_permissions.html)."
|
"(https://docs.discord.red/en/stable/cog_permissions.html)."
|
||||||
)
|
)
|
||||||
|
|
||||||
await ctx.maybe_send_embed(message)
|
await ctx.maybe_send_embed(message)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user