From 62b679b1b982be8f56ab4bbd35e388c24f2f5690 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Thu, 2 Jan 2020 14:48:33 +0100 Subject: [PATCH] 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 --- changelog.d/customcom/3186.misc.rst | 1 + changelog.d/permissions/3186.misc.rst | 1 + redbot/cogs/customcom/customcom.py | 2 +- redbot/cogs/permissions/permissions.py | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changelog.d/customcom/3186.misc.rst create mode 100644 changelog.d/permissions/3186.misc.rst diff --git a/changelog.d/customcom/3186.misc.rst b/changelog.d/customcom/3186.misc.rst new file mode 100644 index 000000000..33ed81aae --- /dev/null +++ b/changelog.d/customcom/3186.misc.rst @@ -0,0 +1 @@ +Replace links to ``v3-develop`` docs with links to ``stable`` docs in help of ``[p]cc create``. diff --git a/changelog.d/permissions/3186.misc.rst b/changelog.d/permissions/3186.misc.rst new file mode 100644 index 000000000..0e44098da --- /dev/null +++ b/changelog.d/permissions/3186.misc.rst @@ -0,0 +1 @@ +Replace links to ``v3-develop`` docs with links to ``stable`` docs in ``[p]permissions explain``. diff --git a/redbot/cogs/customcom/customcom.py b/redbot/cogs/customcom/customcom.py index b5cf2a7e6..fb384db12 100644 --- a/redbot/cogs/customcom/customcom.py +++ b/redbot/cogs/customcom/customcom.py @@ -212,7 +212,7 @@ class CustomCommands(commands.Cog): If a type is not specified, a simple CC will be created. 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) diff --git a/redbot/cogs/permissions/permissions.py b/redbot/cogs/permissions/permissions.py index 7910ac986..c36c179af 100644 --- a/redbot/cogs/permissions/permissions.py +++ b/redbot/cogs/permissions/permissions.py @@ -135,7 +135,7 @@ class Permissions(commands.Cog): "used).\n" " 5. Rules about the server a user is in (Global rules only).\n\n" "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)