diff options
| -rw-r--r-- | bot/cogs/filtering.py | 2 | ||||
| -rw-r--r-- | bot/cogs/moderation.py | 2 | ||||
| -rw-r--r-- | bot/cogs/site.py | 15 | ||||
| -rw-r--r-- | bot/cogs/superstarify/__init__.py | 2 | ||||
| -rw-r--r-- | bot/cogs/verification.py | 4 | 
5 files changed, 14 insertions, 11 deletions
| diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py index 418297fc4..77f6eece5 100644 --- a/bot/cogs/filtering.py +++ b/bot/cogs/filtering.py @@ -59,7 +59,7 @@ class Filtering:                  "user_notification": Filter.notify_user_invites,                  "notification_msg": (                      f"Per Rule 10, your invite link has been removed. {_staff_mistake_str}\n\n" -                    r"Our server rules can be found here: <https://pythondiscord.com/about/rules>" +                    r"Our server rules can be found here: <https://pythondiscord.com/pages/rules>"                  )              },              "filter_domains": { diff --git a/bot/cogs/moderation.py b/bot/cogs/moderation.py index fb791c933..532a44f4d 100644 --- a/bot/cogs/moderation.py +++ b/bot/cogs/moderation.py @@ -28,7 +28,7 @@ INFRACTION_ICONS = {      "Kick": Icons.sign_out,      "Ban": Icons.user_ban  } -RULES_URL = "https://pythondiscord.com/about/rules" +RULES_URL = "https://pythondiscord.com/pages/rules"  APPEALABLE_INFRACTIONS = ("Ban", "Mute") diff --git a/bot/cogs/site.py b/bot/cogs/site.py index b5e63fb41..b540827bf 100644 --- a/bot/cogs/site.py +++ b/bot/cogs/site.py @@ -46,15 +46,18 @@ class Site:      async def site_resources(self, ctx: Context):          """Info about the site's Resources page.""" -        url = f"{PAGES_URL}/resources" +        learning_url = f"{PAGES_URL}/resources" +        tools_url = f"{PAGES_URL}/tools" -        embed = Embed(title="Resources") -        embed.set_footer(text=url) +        embed = Embed(title="Resources & Tools") +        embed.set_footer(text=f"{learning_url} | {tools_url}")          embed.colour = Colour.blurple()          embed.description = ( -            f"The [Resources page]({url}) on our website contains a " +            f"The [Resources page]({learning_url}) on our website contains a "              "list of hand-selected goodies that we regularly recommend " -            "to both beginners and experts." +            f"to both beginners and experts. The [Tools page]({tools_url}) " +            "contains a couple of the most popular tools for programming in " +            "Python."          )          await ctx.send(embed=embed) @@ -111,7 +114,7 @@ class Site:              # Rules were not submitted. Return the default description.              rules_embed.description = (                  "The rules and guidelines that apply to this community can be found on" -                " our [rules page](https://pythondiscord.com/about/rules). We expect" +                f" our [rules page]({PAGES_URL}/rules). We expect"                  " all members of the community to have read and understood these."              ) diff --git a/bot/cogs/superstarify/__init__.py b/bot/cogs/superstarify/__init__.py index cccd91304..b2e31db3e 100644 --- a/bot/cogs/superstarify/__init__.py +++ b/bot/cogs/superstarify/__init__.py @@ -15,7 +15,7 @@ from bot.decorators import with_role  from bot.utils.moderation import post_infraction  log = logging.getLogger(__name__) -NICKNAME_POLICY_URL = "https://pythondiscord.com/about/rules#nickname-policy" +NICKNAME_POLICY_URL = "https://pythondiscord.com/pages/rules/#wiki-toc-nickname-policy"  class Superstarify: diff --git a/bot/cogs/verification.py b/bot/cogs/verification.py index 6b42c9213..efbcda166 100644 --- a/bot/cogs/verification.py +++ b/bot/cogs/verification.py @@ -14,8 +14,8 @@ Hello! Welcome to the server, and thanks for verifying yourself!  For your records, these are the documents you accepted: -`1)` Our rules, here: <https://pythondiscord.com/about/rules> -`2)` Our privacy policy, here: <https://pythondiscord.com/about/privacy> - you can find information on how to have \ +`1)` Our rules, here: <https://pythondiscord.com/pages/rules> +`2)` Our privacy policy, here: <https://pythondiscord.com/pages/privacy> - you can find information on how to have \  your information removed here as well.  Feel free to review them at any point! | 
