err
This commit is contained in:
parent
6e01fb29cd
commit
0240a62337
@ -144,7 +144,7 @@ namespace NadekoBot {
|
|||||||
try {
|
try {
|
||||||
var request = e.Request as Discord.API.Client.Rest.SendMessageRequest;
|
var request = e.Request as Discord.API.Client.Rest.SendMessageRequest;
|
||||||
if (request != null) {
|
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))
|
if (string.IsNullOrWhiteSpace(request.Content))
|
||||||
e.Cancel = true;
|
e.Cancel = true;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user