Skip to content

Commit

Permalink
Remove random color.
Browse files Browse the repository at this point in the history
  • Loading branch information
iopred committed Dec 22, 2016
1 parent a219d4a commit ac469ba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions wormholeplugin/wormholeplugin.go
Expand Up @@ -265,9 +265,6 @@ func (p *wormholePlugin) broadcast(bot *bruxism.Bot, service bruxism.Service, me
discord := service.(*bruxism.Discord)

color := discord.UserColor(message.UserID(), channel)
if color == 0 {
color = rand.Intn(0xFFFFFF)
}

if wormhole.Webhook != "" {
err := discord.Session.WebhookExecute(wormhole.Webhook, wormhole.Token, true, &discordgo.WebhookParams{
Expand Down

0 comments on commit ac469ba

Please sign in to comment.