Skip to content

Commit

Permalink
Fix missed migration
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeJMattson committed Jun 14, 2024
1 parent 1b43936 commit 821f8cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class LoggerService(private val config: Configuration, private val discord: Disc
private suspend fun processLog() {
logMessages.forEach {

val guild = discord.kord.getGuild(it.key)
val guild = discord.kord.getGuildOrNull(it.key)
if (guild == null) {
logMessages.remove(it.key)
return@forEach
Expand Down

0 comments on commit 821f8cf

Please sign in to comment.