Skip to content

Commit

Permalink
Reference the test command in feedback and in wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed May 30, 2024
1 parent dc42477 commit c94d45b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public class WarCommands {
public String setBeigeAlertScoreLeeway(@Me DBNation me,
@Range(min=0) double scoreLeeway) {
me.setMeta(NationMeta.BEIGE_ALERT_SCORE_LEEWAY, scoreLeeway);
return "Set beige alert score leeway to " + MathMan.format(scoreLeeway) + "ns";
return "Set beige alert score leeway to " + MathMan.format(scoreLeeway) + "ns" + "\nSee also:" + CM.alerts.beige.test_auto.cmd.toSlashMention();;
}

@Command(desc = "Set the required amount of loot for automatic beige alerts\n" +
Expand All @@ -131,7 +131,7 @@ public String beigeAlertRequiredLoot(@Me DBNation me,
"Resources are valued at weekly market average prices")
double requiredLoot) {
me.setMeta(NationMeta.BEIGE_ALERT_REQUIRED_LOOT, requiredLoot);
return "Set beige alert required loot to $" + MathMan.format(requiredLoot);
return "Set beige alert required loot to $" + MathMan.format(requiredLoot) + "\nSee also:" + CM.alerts.beige.test_auto.cmd.toSlashMention();
}

@Command(desc = "Set the types of nations to receive automatic beige alerts for", aliases = {"beigeAlertMode", "setBeigeAlertMode"})
Expand Down Expand Up @@ -162,7 +162,7 @@ public static String beigeAlertMode(@Me User user, @Me DBNation me, NationMeta.B
}
}
}
return response.toString();
return response.toString() + "\n\nSee also:" + CM.alerts.beige.test_auto.cmd.toSlashMention();
}

@Command(desc = "Set the types of nations to receive automatic beige alerts for", aliases = {"beigeAlertMode", "setBeigeAlertMode"})
Expand Down Expand Up @@ -205,7 +205,7 @@ public String testBeigeAlertAuto(@Me GuildDB db, @Me DBNation me, @Me Member mem
public String beigeAlertRequiredStatus(@Me DBNation me, NationMeta.BeigeAlertRequiredStatus status) {
me.setMeta(NationMeta.BEIGE_ALERT_REQUIRED_STATUS, (byte) status.ordinal());
NationMeta.BeigeAlertMode mode = me.getBeigeAlertMode(NationMeta.BeigeAlertMode.NO_ALERTS);
return "Set beige alert required status to " + status;
return "Set beige alert required status to " + status + "\nSee also:" + CM.alerts.beige.test_auto.cmd.toSlashMention();;
}

@Command(desc = "List your current beige reminders", aliases = {"beigeReminders", "listBeigeReminders"})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public String generateMarkdown() {
commandMarkdownSpoiler(CM.settings_beige_alerts.BEIGE_ALERT_CHANNEL.cmd, true),
///alerts beige beigeAlertMode
commandMarkdownSpoiler(CM.alerts.beige.beigeAlertOptOut.cmd, true),
commandMarkdownSpoiler(CM.alerts.beige.test_auto.cmd, true),
commandMarkdownSpoiler(CM.alerts.beige.beigeAlertMode.cmd, true),
commandMarkdownSpoiler(CM.alerts.beige.beigeAlert.cmd, true),
commandMarkdownSpoiler(CM.alerts.beige.beigeAlertRequiredLoot.cmd, true),
Expand Down

0 comments on commit c94d45b

Please sign in to comment.