Skip to content

Commit

Permalink
Update vote.go to display choices instead of
Browse files Browse the repository at this point in the history
results
  • Loading branch information
1nv8rzim committed Dec 8, 2023
1 parent 66bf717 commit 0b56242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/slash/vote.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func Vote() (*discordgo.ApplicationCommand, func(s *discordgo.Session, i *discor
Data: &discordgo.InteractionResponseData{
Content: func() string {
response := fmt.Sprintf("Voting submitted for: **%s**\n", title)
response += "Results:\n"
response += "Choices:\n"
for _, option := range ranking {
response += fmt.Sprintf("- **%s**\n", option)
}
Expand Down

0 comments on commit 0b56242

Please sign in to comment.