From 4fd719e682f9b8e348bc048eb1697dc7cbe958f1 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Sun, 22 Sep 2024 17:36:04 +0200 Subject: [PATCH] Fix missing access issues --- .../space/votebot/commands/vote/create/CreateCommand.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/src/main/kotlin/space/votebot/commands/vote/create/CreateCommand.kt b/plugin/src/main/kotlin/space/votebot/commands/vote/create/CreateCommand.kt index 737dee5..084eab4 100644 --- a/plugin/src/main/kotlin/space/votebot/commands/vote/create/CreateCommand.kt +++ b/plugin/src/main/kotlin/space/votebot/commands/vote/create/CreateCommand.kt @@ -79,7 +79,7 @@ suspend fun VoteBotModule.createCommand() = ephemeralSlashCommand(::CreateArgume ) ) val emojis = currentSettings.selectEmojis( - guild, + voteSafeGuild, 25 ) var poll = Poll( @@ -104,7 +104,7 @@ suspend fun VoteBotModule.createCommand() = ephemeralSlashCommand(::CreateArgume components(10.minutes) { suspend fun update() = edit { val emojis = currentSettings.selectEmojis( - guild, + voteSafeGuild, poll.options.size ) // re-arrange emojis and update settings