go: discord/modules: Fix embed generated by '!votesuggest' command

master
Luther Wen Xu 2019-10-18 23:58:50 +07:00
parent 430b8be8f5
commit 6fceb6c50e
Signed by: chanbakjsd
GPG Key ID: B7D77E3E9D102B70
1 changed files with 1 additions and 1 deletions

@ -124,7 +124,7 @@ var voteSuggestion = enforceDM(enforceArgumentCount(
}
message.AuditInfo(s, fmt.Sprintf("Vote ID %d has been created by <@%s>.", id, m.Author.ID))
s.ChannelMessageEdit(config.VoteChannel, msg.ID, "")
createCustomEmbed(id, command[1]).Edit(s, config.VoteChannel, msg.ID)
createCustomEmbed(id, command[2]).Edit(s, config.VoteChannel, msg.ID)
s.MessageReactionAdd(config.VoteChannel, msg.ID, emojiOne)
s.MessageReactionAdd(config.VoteChannel, msg.ID, emojiTwo)
s.MessageReactionAdd(config.VoteChannel, msg.ID, emojiThree)