Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed Jun 19, 2024
1 parent 2978764 commit 4789e01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ public static DBBounty bounty(String input) {
}

@Binding(value = "The name of a nation attribute\n" +
"See: <https://github.com/xdnw/locutus/wiki/nation_placeholders>", examples = {"color", "war_policy", "continent"})
"See: <https://github.com/xdnw/locutus/wiki/nation_placeholders>", examples = {"color", "war_policy", "continent"},
webType = "CommandCallable")
@NationAttributeCallable
public ParametricCallable nationAttribute(NationPlaceholders placeholders, ValueStore store, String input) {
List<ParametricCallable> options = placeholders.getParametricCallables();
Expand All @@ -158,7 +159,8 @@ public ParametricCallable nationAttribute(NationPlaceholders placeholders, Value
return metric;
}

@Binding(value = "A discord slash command reference for the bot")
@Binding(value = "A discord slash command reference for the bot",
webType = "CommandCallable")
public ICommand slashCommand(String input) {
List<String> split = StringMan.split(input, ' ');
CommandCallable command = Locutus.imp().getCommandManager().getV2().getCallable(split);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ public WebOption getReport() {


//AGrantTemplate

//Newsletter

//GuildSetting
Expand Down

0 comments on commit 4789e01

Please sign in to comment.