Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class MeetingConfig extends ConfigCategory {

@Override
public void enable(@NotNull Guild guild) {
createNewMeeting(LocalDate.now().with(TemporalAdjusters.next(DayOfWeek.SUNDAY)).atTime(17, 30).atZone(Main.timezone).toInstant());
createNewMeeting(LocalDate.now().with(TemporalAdjusters.next(DayOfWeek.SUNDAY)).atTime(20, 0).atZone(Main.timezone).toInstant());
}

public void setupNotification() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public synchronized void onButtonInteraction(@NotNull ButtonInteractionEvent eve
if (config.getEvent() != 0) event.getGuild().retrieveScheduledEventById(config.getEvent()).flatMap(ScheduledEvent::delete).queue();

//This will send a new message
config.createNewMeeting(current.getTimestamp().atZoneSameInstant(Main.timezone).plus(Duration.ofDays(14)).withHour(17).withMinute(30).toInstant());
config.createNewMeeting(current.getTimestamp().atZoneSameInstant(Main.timezone).plus(Duration.ofDays(14)).withHour(20).withMinute(0).toInstant());
guildConfig.save();
}
}
Expand Down
Loading