Update link code message to include Discord invite link

Added a clickable URL to the GIVE_CODE message to guide users to the Discord server. This enhancement provides a direct link for easier access and account linking.
This commit is contained in:
Teriuihi 2024-08-09 23:12:46 +02:00
parent e8c73ead90
commit 37f044751c

View File

@ -216,7 +216,7 @@ public final class Config {
public static String HELP_SYNC = "<yellow><gold>/discord sync</gold>: Manually synchronize your roles across Discord and Minecraft.</yellow>";
public static List<String> DISCORD_MESSAGE = new ArrayList<>(List.of("Invite code here."));
public static String DISCORD_LINK = "<click:run_command:'/discord link'><yellow>Your Minecraft and Discord accounts aren't linked yet, to link them click this message!</yellow></click>";
public static String GIVE_CODE = "<yellow>Your code is <gold><code></gold>, To link your accounts do <gold>&link <code></gold> in the Discord #link channel.</yellow>";
public static String GIVE_CODE = "<yellow>Your code is <gold><code></gold>, To link your accounts do <gold>&link <code></gold> in the Discord #link channel. You can join the Discord here <click:open_url:'https://discord.gg/TGqpzCJ'></click></yellow>";
private static void loadMessages() {
DISCORD_MESSAGE = getList("messages.discord-message", DISCORD_MESSAGE);