go: discord/modules: Send to PM channel instead of invalid user

master
Luther Wen Xu 2019-10-16 13:42:36 +07:00
parent 617a131d2d
commit 712af25677
Signed by: chanbakjsd
GPG Key ID: B7D77E3E9D102B70
1 changed files with 1 additions and 1 deletions

@ -121,7 +121,7 @@ var checkUseInvite = enforceDM(memberFilter(false, enforceArgumentCount(
s.MessageReactionAdd(channel.ID, msg.ID, emojiCheck) s.MessageReactionAdd(channel.ID, msg.ID, emojiCheck)
s.MessageReactionAdd(channel.ID, msg.ID, emojiX) s.MessageReactionAdd(channel.ID, msg.ID, emojiX)
message.InitNewEmbed(config.SuccessTitle, config.ValidateSuccess, config.SuccessColour). message.InitNewEmbed(config.SuccessTitle, config.ValidateSuccess, config.SuccessColour).
SendPM(s, m.ChannelID) Send(s, m.ChannelID)
}, },
))) )))