feat: split ignores into 'ignore messages' and 'ignore entities'
This commit is contained in:
parent
d48ab7e16e
commit
0cac964aa6
32 changed files with 730 additions and 488 deletions
|
|
@ -180,16 +180,14 @@ public class ChannelUpdateResponder(
|
|||
if (builder.Fields.Count == 0)
|
||||
return Result.Success;
|
||||
|
||||
var logChannel = webhookExecutor.GetLogChannel(
|
||||
guildConfig,
|
||||
LogChannelType.ChannelUpdate,
|
||||
channelId: evt.ID,
|
||||
userId: null
|
||||
webhookExecutor.QueueLog(
|
||||
webhookExecutor.GetLogChannel(
|
||||
guildConfig,
|
||||
LogChannelType.ChannelUpdate,
|
||||
channelId: evt.ID
|
||||
),
|
||||
builder.Build().GetOrThrow()
|
||||
);
|
||||
if (logChannel == null)
|
||||
return Result.Success;
|
||||
|
||||
webhookExecutor.QueueLog(logChannel.Value, builder.Build().GetOrThrow());
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue