Skip to content

Commit

Permalink
Disable custom emoji mode in user mode
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Sep 22, 2024
1 parent 2fb4909 commit fd954a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
alias(libs.plugins.kotlin.serialization) apply false
}
allprojects {
version = "5.5.3"
version = "5.6.0"
group = "space.votebot"

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,9 @@ suspend fun VoteBotModule.createCommand() = ephemeralSlashCommand(::CreateArgume
}
render()

ChoiceEmojiMode.entries.forEach {
ChoiceEmojiMode.entries
.filter { isGuildInstall || it != ChoiceEmojiMode.CUSTOM }
.forEach {
val label = translate(
"commands.create.interactive.emoji_mode.place_holder",
arrayOf(translate(it.readableName))
Expand Down

0 comments on commit fd954a1

Please sign in to comment.