From fa213d2a1bcb82fb55ff889e10454852b1f80695 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Tue, 19 Apr 2016 07:29:24 +0200 Subject: [PATCH] Prevent bot from saying @here . Thanks to meew0 --- NadekoBot/NadekoBot.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NadekoBot/NadekoBot.cs b/NadekoBot/NadekoBot.cs index f2d48dbd..ac61d96d 100644 --- a/NadekoBot/NadekoBot.cs +++ b/NadekoBot/NadekoBot.cs @@ -229,7 +229,8 @@ namespace NadekoBot { var request = e.Request as Discord.API.Client.Rest.SendMessageRequest; if (request == null) return; - request.Content = request.Content?.Replace("@everyone", "@everyοne") ?? "_error_"; + // meew0 is magic + request.Content = request.Content?.Replace("@everyone", "@everyοne").Replace("@here", "@һere") ?? "_error_"; if (string.IsNullOrWhiteSpace(request.Content)) e.Cancel = true; };