mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-01 08:39:31 +01:00
Add link to placeholders in main config header
This commit is contained in:
parent
e0bee7e2d8
commit
baf7e5027b
@ -5,6 +5,7 @@ public final class DocumentationURLs {
|
||||
private DocumentationURLs() {}
|
||||
|
||||
public static final String CREATE_TOKEN = "https://docs.discordsrv.com/installation/initial-setup/#setting-up-the-bot";
|
||||
public static final String PLACEHOLDERS = "https://docs.discordsrv.com/ascension/placeholders/";
|
||||
public static final String ELT_FORMAT = "https://github.com/Vankka/EnhancedLegacyText/wiki/Format";
|
||||
public static final String DISCORD_MARKDOWN = "https://support.discord.com/hc/en-us/articles/210298617";
|
||||
}
|
||||
|
@ -38,13 +38,14 @@ public abstract class MainConfig implements Config {
|
||||
|
||||
public static final String FILE_NAME = "config.yaml";
|
||||
|
||||
@Constants({DocumentationURLs.ELT_FORMAT, DocumentationURLs.DISCORD_MARKDOWN})
|
||||
@Constants({DocumentationURLs.ELT_FORMAT, DocumentationURLs.DISCORD_MARKDOWN, DocumentationURLs.PLACEHOLDERS})
|
||||
public static final String HEADER = String.join("\n", Arrays.asList(
|
||||
"Welcome to the DiscordSRV configuration file",
|
||||
"",
|
||||
"Looking for the \"BotToken\" option? It has been moved into the " + ConnectionConfig.FILE_NAME,
|
||||
"Need help with the format for Minecraft messages? %1",
|
||||
"Need help with Discord markdown? %2"
|
||||
"Need help with Discord markdown? %2",
|
||||
"List of placeholders %3"
|
||||
));
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user