From 712af256779f1c3cf58200b33997f50c9f2c1ce6 Mon Sep 17 00:00:00 2001 From: Luther Wen Xu Date: Wed, 16 Oct 2019 13:42:36 +0800 Subject: [PATCH] go: discord/modules: Send to PM channel instead of invalid user --- GoBot/discord/modules/invite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GoBot/discord/modules/invite.go b/GoBot/discord/modules/invite.go index 5c15658..aa227f9 100644 --- a/GoBot/discord/modules/invite.go +++ b/GoBot/discord/modules/invite.go @@ -121,7 +121,7 @@ var checkUseInvite = enforceDM(memberFilter(false, enforceArgumentCount( s.MessageReactionAdd(channel.ID, msg.ID, emojiCheck) s.MessageReactionAdd(channel.ID, msg.ID, emojiX) message.InitNewEmbed(config.SuccessTitle, config.ValidateSuccess, config.SuccessColour). - SendPM(s, m.ChannelID) + Send(s, m.ChannelID) }, )))