Skip to content

Commit

Permalink
Update PWBindings.java
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed Jul 29, 2024
1 parent ddf9b1f commit e073f80
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 e073f80

Please sign in to comment.