err
This commit is contained in:
parent
6e01fb29cd
commit
0240a62337
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user