mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-05-07 17:59:52 -05:00
show overview by default
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ class LinkCalendarCommand : SlashCommand {
|
||||
val showOverview = event.getOption("overview")
|
||||
.flatMap(ApplicationCommandInteractionOption::getValue)
|
||||
.map(ApplicationCommandInteractionOptionValue::asBoolean)
|
||||
.orElse(false)
|
||||
.orElse(true)
|
||||
|
||||
val calendarNumber = event.getOption("calendar")
|
||||
.flatMap(ApplicationCommandInteractionOption::getValue)
|
||||
|
||||
Reference in New Issue
Block a user