From 71ed4cc25cbdacaf53427e49743145ef3880920b Mon Sep 17 00:00:00 2001 From: "Nyeki.py" <84998222+Nekidev@users.noreply.github.com> Date: Fri, 14 Feb 2025 22:54:33 -0300 Subject: [PATCH] feat(shard): :bug: Update server's invite to a valid one. --- payphone/core/constants.py | 2 ++ payphone/core/help_command.py | 2 +- payphone/core/messages.py | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/payphone/core/constants.py b/payphone/core/constants.py index 564ba50..a8c3176 100644 --- a/payphone/core/constants.py +++ b/payphone/core/constants.py @@ -30,3 +30,5 @@ PRIMARY_COLOR = 0xE2D9D0 SUPPORTER_COLOR = 0xAB9EFF MODERATOR_COLOR = 0xFF8787 MASK_COLOR = 0xFFC868 + +DISCORD_SERVER_INVITE = "https://discord.gg/fKuZty23pm" diff --git a/payphone/core/help_command.py b/payphone/core/help_command.py index a612e43..d1c19cc 100644 --- a/payphone/core/help_command.py +++ b/payphone/core/help_command.py @@ -30,7 +30,7 @@ class HelpView(discord.ui.View): discord.ui.Button( label="Server", style=discord.ButtonStyle.gray, - url="https://discord.gg/Cb3rCrTxmm", + url=constants.DISCORD_SERVER_INVITE, ), timeout=None, ) diff --git a/payphone/core/messages.py b/payphone/core/messages.py index 0d67a28..5829ecc 100644 --- a/payphone/core/messages.py +++ b/payphone/core/messages.py @@ -1,3 +1,6 @@ +from payphone.core import constants + + TIPS = [ "You can report calls using `Apps > Report Message`.", "Help us sharing Payphone to make it more active!", @@ -18,7 +21,7 @@ TIPS = [ "Enable and disable channels using `{prefix}config enable` and `{prefix}config disable`!", "There's a secret easter egg command. Try to find it! (Hint: cat)", "Make sure to read Payphone's [Code of Conduct](). Let's keep Payphone safe and fun for everyone!", - "Join [Payphone's official server]() to participate in polls for new features!", + f"Join [Payphone's official server](<{constants.DISCORD_SERVER_INVITE}>) to participate in polls for new features!", # "How high are you on the leaderboard? Use `{prefix}me`, `{prefix}leaderboard`, and `{prefix}leaderboard servers` to check it out!", ]