Permalink
Browse files

Fix color for myson.

  • Loading branch information...
1 parent 89f32fd commit 1086303f5de2ea0b9709d03b7617db86021008ce @iopred committed Dec 11, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 mysonplugin/mysonplugin.go
@@ -12,7 +12,7 @@ func messageFunc(bot *bruxism.Bot, service bruxism.Service, message bruxism.Mess
discord := service.(*bruxism.Discord)
discord.Session.ChannelMessageSendEmbed(message.Channel(), &discordgo.MessageEmbed{
- Color: discord.Session.State.UserColor(service.UserID(), message.Channel()),
+ Color: discord.UserColor(service.UserID(), message.Channel()),
Description: "Don't ever talk to me or my son ever again.",
Author: &discordgo.MessageEmbedAuthor{
Name: discord.NicknameForID(service.UserID(), service.UserName(), message.Channel()),

0 comments on commit 1086303

Please sign in to comment.