From 423895b3766b5913413c8ccab6982c06563d68d9 Mon Sep 17 00:00:00 2001 From: Luther Wen Xu Date: Fri, 11 Oct 2019 22:52:28 +0800 Subject: [PATCH] go: Add votes to audit log --- GoBot/command_vote.go | 1 + 1 file changed, 1 insertion(+) diff --git a/GoBot/command_vote.go b/GoBot/command_vote.go index 0766c7b..b611eda 100644 --- a/GoBot/command_vote.go +++ b/GoBot/command_vote.go @@ -94,6 +94,7 @@ func checkForVote(s *discordgo.Session, r *discordgo.MessageReactionAdd) { } sendPrivateMessage(s, r.UserID, "您投票已成功。\nYou have voted successfully.\n名字Vote Name: "+voteName+"\n目前投的票: :"+r.Emoji.Name+":") + auditLog(s, fmt.Sprintf("<@%s> has chosen %s for vote ID %d.", r.UserID, r.Emoji.Name, voteID)) checkForVoteResult(s, voteID) }