This commit is contained in:
Master Kwoth 2016-02-27 02:22:06 +01:00
parent 6e01fb29cd
commit 0240a62337

View File

@ -144,7 +144,7 @@ namespace NadekoBot {
try {
var request = e.Request as Discord.API.Client.Rest.SendMessageRequest;
if (request != null) {
request.Content = request.Content?.Replace("@everyone", "@everyοne");
request.Content = request.Content?.Replace("@everyone", "@everyοne") ?? "_error_";
if (string.IsNullOrWhiteSpace(request.Content))
e.Cancel = true;
else