fix: pronouns command arg

main
Pyrrha Wills 5 months ago
parent 653b2a7e35
commit f03d737969
Signed by: JustPyrrha
GPG Key ID: 81D743E41C1C23C1
  1. 4
      src/main/java/gay/pyrrha/lanyard/command/LanyardCommands.java

@ -30,8 +30,8 @@ public class LanyardCommands implements CommandRegistrationCallback {
dispatcher.register(literal("lanyard").executes(LanyardCommands::versionInfo)
.then(literal("pronouns")
.executes(LanyardCommands::pronounsInfo)
.then(argument("value", StringArgumentType.greedyString()))
.executes(LanyardCommands::updateOwnPronouns)
.then(argument("value", StringArgumentType.greedyString())
.executes(LanyardCommands::updateOwnPronouns))
).then(literal("bio")
.then(argument("value", StringArgumentType.greedyString())
.executes(LanyardCommands::updateOwnBio))

Loading…
Cancel
Save