Skip to content

Commit

Permalink
Fix errors with new translations. I'd mis-configured weblate to just …
Browse files Browse the repository at this point in the history
…punt new translation files in and the empty strings were making lily upset
  • Loading branch information
NoComment1105 committed Nov 30, 2024
1 parent c3eca89 commit 757a040
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 12,619 deletions.
4 changes: 4 additions & 0 deletions src/main/kotlin/org/hyacinthbots/lilybot/LilyBot.kt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ suspend fun main() {
database(true)
dataAdapter(::MongoDBDataAdapter)

kord {
stackTraceRecovery = true
}

members {
lockMemberRequests = true // Collect members one at a time to avoid hitting rate limits
all()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ class Reminders : Extension() {
// Doing this status ping in here as this is an already running scheduler and can easily have this added
// to avoid duplicating the scheduler. This should always ping if the bots up too so why make another
statusLogger.debug { "Pinging!" }
statusClient.post(statusEnv)
statusEnv?.let { statusClient.post(it) }
// End status ping
val reminders = ReminderCollection().getAllReminders()
val dueReminders =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ val SENTRY_DSN = envOrNull("SENTRY_DSN")
val ENVIRONMENT = env("ENVIRONMENT")

/** URL to ping to indicate uptime.*/
val statusEnv = env("STATUS_URL")
val statusEnv = envOrNull("STATUS_URL")

const val HYACINTH_GITHUB: String = "https://github.com/HyacinthBots"
Loading

0 comments on commit 757a040

Please sign in to comment.