Skip to content

Commit

Permalink
Fix duplicated name
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Nov 20, 2024
1 parent 9a4a7da commit 78d2ddc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class CreateOptions : AbstractPollSettingsArguments(), CreateSettings {
}

suspend fun VoteBotModule.quickCommand() = ephemeralSlashCommand(::CreateOptions) {
name = VoteBotTranslations.Commands.Create.name
description = VoteBotTranslations.Commands.Create.description
name = VoteBotTranslations.Commands.QuickCreate.name
description = VoteBotTranslations.Commands.QuickCreate.description
voteCommandContext()

action {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
commands.quick_create.name=quick-create
commands.quick_create.description=Creates a poll with default options
commands.info.contributors=Contributors
commands.info.mikbot=This project is part of the larger [Mikbot](https://github.com/DRSchlaubi/mikbot) project and makes heavy use of its contributions.
commands.info.graphics=Branding Resources
Expand Down

0 comments on commit 78d2ddc

Please sign in to comment.