This commit is contained in:
NovaFox161
2022-01-24 11:58:09 -06:00
parent 339d954b32
commit fc3b4e1f55

View File

@@ -68,9 +68,11 @@ class AnnouncementService : ApplicationRunner {
LOGGER.error(GlobalVal.DEFAULT, "Announcement error", it)
}.onErrorResume { Mono.empty() }
}.onErrorResume(ClientException.isStatusCode(403)) {
//FIXME: great way to wipe the database, not sure what the fuck happened here.
// DisCal is no longer in the guild, remove all it's from the database
DatabaseManager.deleteAllDataForGuild(entry.key).then()
//DatabaseManager.deleteAllDataForGuild(entry.key).then()
Mono.empty()
}
}
}.doOnError {