Fixed empty message edits?
This commit is contained in:
parent
4aaeba34a0
commit
85350657be
@ -514,6 +514,9 @@ namespace NadekoBot.Modules.Administration
|
||||
if (channel == null)
|
||||
return Task.CompletedTask;
|
||||
|
||||
if (before.Content == after.Content)
|
||||
return Task.CompletedTask;
|
||||
|
||||
LogSetting logSetting;
|
||||
if (!GuildLogSettings.TryGetValue(channel.Guild.Id, out logSetting)
|
||||
|| !logSetting.IsLogging
|
||||
|
Loading…
Reference in New Issue
Block a user