Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/xdnw/locutus
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed Jul 29, 2024
2 parents 168f0fd + e073f80 commit 7bd5869
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,9 @@ public Rank rank(String rank) {
return emum(Rank.class, rank);
}

@Binding(value = "An in-game position")
@Binding(value = "An in-game position\n" +
"When there is overlap from multiple alliances registered to the guild, the alliance id must be specified\n" +
"In the form: `<alliance>:<position>` such as `1234:Member`")
public static DBAlliancePosition position(@Me GuildDB db, @Default @Me DBNation nation, String name) {
AllianceList alliances = db.getAllianceList();
if (alliances == null || alliances.isEmpty()) throw new IllegalArgumentException("No alliances are set. See: " + CM.settings.info.cmd.toSlashMention() + " with key " + GuildKey.ALLIANCE_ID.name());
Expand Down

0 comments on commit 7bd5869

Please sign in to comment.