Skip to content

Commit

Permalink
Make schedule argument required
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoi15A committed Feb 21, 2023
1 parent 019e8b4 commit a14affd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/command/Splatoon.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Splatoon : GuildCommand {
) {
subCommand("schedule", "Get a schedule for a gamemode") {
string("mode", "A splatoon gamemode") {
required = true
for (mode in GameModes.values()) {
choice(mode.displayName, mode.name)
}
Expand Down

0 comments on commit a14affd

Please sign in to comment.