From c893736dbbb6c9f426e29899e4f32406f5611ac4 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Sat, 23 Jan 2016 18:05:10 +0100 Subject: [PATCH] ignore automod PMs --- NadekoBot/NadekoBot.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NadekoBot/NadekoBot.cs b/NadekoBot/NadekoBot.cs index bb4894c1..c5522e4c 100644 --- a/NadekoBot/NadekoBot.cs +++ b/NadekoBot/NadekoBot.cs @@ -145,6 +145,11 @@ namespace NadekoBot static bool repliedRecently = false; private static async void Client_MessageReceived(object sender, MessageEventArgs e) { if (e.Server != null || e.User.Id == client.CurrentUser.Id) return; + + //just ban this trash AutoModerator + if (e.User.Id == 105309315895693312) + return; // FU + try { await (await client.GetInvite(e.Message.Text)).Accept(); await e.Send("I got in!");