Skip to content

Commit

Permalink
Small hotfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gdude2002 committed Dec 12, 2024
1 parent 185f0da commit df19c99
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions kord-extensions/data/data-collection.properties

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class StringSelectOption(
this.description = this@StringSelectOption.description!!.translate()
}

if (this@StringSelectOption.description != null) {
if (this@StringSelectOption.emoji != null) {
this.emoji = this@StringSelectOption.emoji!!
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public open class ResourceBundleTranslations(
}.build()
.formatToString(
replacements.mapIndexed { index, value ->
0.toString() to value
index.toString() to value
}.toMap()
)
}
Expand Down

0 comments on commit df19c99

Please sign in to comment.