You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/net/javadiscord/javabot/data/config/guild/HelpConfig.java
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,8 +49,14 @@ public class HelpConfig extends GuildConfigItem {
49
49
You can disable notifications like this using the `/preferences` command.
50
50
[Post link](%s)
51
51
""";
52
-
53
-
52
+
53
+
/**
54
+
* The message that is sent in a post to tell users that they
55
+
* should use discord's code-formatting, provided the bot detects unformatted code.
56
+
* Issued by {@link net.javadiscord.javabot.systems.help.AutoCodeFormatter}
57
+
*/
58
+
privateStringformatHintMessage = "> Please format your code to make it more readable. \n> For java, it should look like this: \n```\u200B`\u200B`\u200B`\u200Bjava\npublic void foo() {\n\n}\n\u200B`\u200B`\u200B`\u200B```";
59
+
54
60
/**
55
61
* The message that's sent when a user unreserved a channel where other users
56
62
* participated in.
@@ -93,6 +99,12 @@ public class HelpConfig extends GuildConfigItem {
93
99
*/
94
100
privateintminimumMessageLength = 10;
95
101
102
+
/**
103
+
* The message-embed's footnote of an unformatted-code-replacement.
104
+
* Issued by {@link net.javadiscord.javabot.systems.help.AutoCodeFormatter}
105
+
*/
106
+
privateStringautoFormatInfoMessage = "This message has been formatted automatically. You can disable this using ``/preferences``.";
107
+
96
108
/**
97
109
* The amount of experience points one gets for being thanked by the help channel owner.
0 commit comments