File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
application/src/main/java/org/togetherjava/tjbot/features/help Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 22
33import net .dv8tion .jda .api .EmbedBuilder ;
44import net .dv8tion .jda .api .events .interaction .command .SlashCommandInteractionEvent ;
5+ import net .dv8tion .jda .api .interactions .commands .OptionMapping ;
56import net .dv8tion .jda .api .interactions .commands .OptionType ;
67import net .dv8tion .jda .api .interactions .commands .build .OptionData ;
78import org .jooq .DSLContext ;
@@ -85,7 +86,7 @@ public HelpThreadStatsCommand(Database database) {
8586
8687 @ Override
8788 public void onSlashCommand (SlashCommandInteractionEvent event ) {
88- long days = event .getOption (DURATION_OPTION , 1L , OptionMapping ::getAsLong )
89+ long days = event .getOption (DURATION_OPTION , 1L , OptionMapping ::getAsLong );
8990 Instant startDate = Instant .now ().minus (days , ChronoUnit .DAYS );
9091
9192 event .deferReply ().queue ();
You can’t perform that action at this time.
0 commit comments