Fixed empty log spam
This commit is contained in:
parent
8593127b1b
commit
42f7cc9a31
@ -397,6 +397,8 @@ namespace NadekoBot.Modules.Administration
|
|||||||
.AddField(efb => efb.WithName("Old Topic").WithValue(beforeTextChannel.Topic))
|
.AddField(efb => efb.WithName("Old Topic").WithValue(beforeTextChannel.Topic))
|
||||||
.AddField(efb => efb.WithName("New Topic").WithValue(afterTextChannel.Topic));
|
.AddField(efb => efb.WithName("New Topic").WithValue(afterTextChannel.Topic));
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
return;
|
||||||
|
|
||||||
await logChannel.EmbedAsync(embed).ConfigureAwait(false);
|
await logChannel.EmbedAsync(embed).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user