mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-04-24 18:38:54 -05:00
Still working on getting announcement system going
This commit is contained in:
@@ -142,7 +142,7 @@ public class DisCalClient {
|
||||
Mono<Void> startAnnouncement = client.on(ReadyEvent.class)
|
||||
.doOnNext(ignore -> LogFeed.log(LogObject.forDebug("Ready event hit in announcement start")))
|
||||
.next()
|
||||
.flatMapMany(ignore -> Flux.interval(Duration.ofMinutes(5)))
|
||||
.flatMapMany(ignore -> Flux.interval(Duration.ZERO))
|
||||
.onBackpressureBuffer()
|
||||
.flatMap(i -> new AnnouncementThread(client).run())
|
||||
.then();
|
||||
|
||||
Reference in New Issue
Block a user