From 56b88c8f517694b110eb384f27d4388da8f2768b Mon Sep 17 00:00:00 2001 From: Daniel Tam Date: Tue, 9 Jun 2020 15:22:17 -0500 Subject: [PATCH] added tagged user to coinflip --- bunnybot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bunnybot.go b/bunnybot.go index 5e9fc10..93b9987 100644 --- a/bunnybot.go +++ b/bunnybot.go @@ -71,7 +71,7 @@ func message_create (s *discordgo.Session, m *discordgo.MessageCreate) { // determine our actions if message == "coinflip" || message == "coin" { // flip a coin - s.ChannelMessageSend(m.ChannelID, "heads") // totally fair + s.ChannelMessageSend(m.ChannelID, "<@" + m.Author.ID + "> flipped a coin, it landed on **heads!**") // totally fair } else if len(message) > 0 { // as long as there is a message, try to find a picture // get url url := <-get_image(message)