Skip to content

Commit

Permalink
update lastActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaktushose committed Dec 25, 2024
1 parent df531b4 commit f726a33
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ private void checkForEvents() {
}

private void executeHandler(GenericInteractionCreateEvent incomingEvent) {
lastActivity = LocalDateTime.now();
switch (incomingEvent) {
case SlashCommandInteractionEvent event -> slashCommandHandler.accept(event, this);
case GenericContextInteractionEvent<?> event -> contextCommandHandler.accept(event, this);
Expand Down

0 comments on commit f726a33

Please sign in to comment.