go: discord/modules: Fix invite colouring

Luther Wen Xu 2019-10-17 16:54:12 +07:00
parent 69235d3f3b
commit e97bc82606
Signed by untrusted user: chanbakjsd
GPG Key ID: B7D77E3E9D102B70
1 changed files with 2 additions and 2 deletions

@ -144,12 +144,12 @@ func inviteCallback(s *discordgo.Session, r *discordgo.MessageReactionAdd, info
message.InitNewEmbed( message.InitNewEmbed(
config.ValidateConfirmationAcceptCreatorTitle, config.ValidateConfirmationAcceptCreatorTitle,
config.ValidateConfirmationAcceptCreatorDescription, config.ValidateConfirmationAcceptCreatorDescription,
config.ErrorColour, config.SuccessColour,
).SendPM(s, r.UserID) ).SendPM(s, r.UserID)
message.InitNewEmbed( message.InitNewEmbed(
config.ValidateConfirmationAcceptAccepteeTitle, config.ValidateConfirmationAcceptAccepteeTitle,
config.ValidateConfirmationAcceptAccepteeDescription, config.ValidateConfirmationAcceptAccepteeDescription,
config.ErrorColour, config.SuccessColour,
).SendPM(s, invite.User) ).SendPM(s, invite.User)
msg, err := message.InitNewEmbed( msg, err := message.InitNewEmbed(