Skip to content

Commit

Permalink
update dependencies unbreak commands
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkyAI committed Sep 4, 2024
1 parent 18317b5 commit 8858690
Show file tree
Hide file tree
Showing 11 changed files with 796 additions and 177 deletions.
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pluginManagement {
}

plugins {
id("com.gradle.develocity") version "3.17.4"
id("com.gradle.develocity") version "3.18"
id("de.fayard.refreshVersions") version "0.60.5"
}

Expand Down
3 changes: 2 additions & 1 deletion src/main/kotlin/moe/nikky/ConfigurationExtension.kt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ class ConfigurationExtension : Extension(), Klogging {
val self = kord.getSelf()
ephemeralSlashCommand {
name = "config"
description = "${self.username} related commands"
// description = "${self.username} related commands"
description = "self.username related commands"
allowInDms = false

ephemeralSubCommand(::SetAdminRoleArgs) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/moe/nikky/DiceExtension.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class DiceExtension() : Extension(), Klogging {
content = """
|notation: ${diceNotation.getDisplayString()}
|total:: Σ ${result.total}
|dice::
|dice::
|$dices
""".trimMargin()
}
Expand Down
11 changes: 10 additions & 1 deletion src/main/kotlin/moe/nikky/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ suspend fun main() {
add(::RoleManagementExtension)
add(::TwitchExtension)
add(::LocalTimeExtension)
// add(::SchedulingExtension)
if (TEST_GUILD_ID != null) {
add(::TestExtension)
}
Expand Down Expand Up @@ -144,9 +145,17 @@ suspend fun setupLogging() {
fromLoggerBase("dev.kord", stopOnMatch = true)
applyFromMinLevel(Level.INFO)
}
logging {
fromLoggerBase("com.kotlindiscord.kord.extensions.modules.extra.phishing", stopOnMatch = true)
applyFromMinLevel(Level.WARN)
}
logging {
fromLoggerBase("com.kotlindiscord.kord.extensions.checks", stopOnMatch = true)
applyFromMinLevel(Level.WARN)
}
logging {
fromLoggerBase("com.kotlindiscord.kord.extensions", stopOnMatch = true)
applyFromMinLevel(Level.INFO)
applyFromMinLevel(Level.TRACE)
}
logging {
applyFromMinLevel(Level.INFO)
Expand Down
Loading

0 comments on commit 8858690

Please sign in to comment.