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
|
|
@ -53,7 +53,8 @@ public partial class GuildsController
|
|||
|
||||
await guildRepository.ImportConfigAsync(
|
||||
guildId.Value,
|
||||
export.Channels.ToGuildConfig(),
|
||||
export.Channels.ToChannelConfig(),
|
||||
export.Channels.ToMessageConfig(),
|
||||
export.BannedSystems,
|
||||
export.KeyRoles
|
||||
);
|
||||
|
|
@ -91,7 +92,7 @@ public partial class GuildsController
|
|||
|
||||
return new ConfigExport(
|
||||
config.Id,
|
||||
ChannelsBackup.FromGuildConfig(config.Channels),
|
||||
ChannelsBackup.FromGuildConfig(config),
|
||||
config.BannedSystems,
|
||||
config.KeyRoles,
|
||||
invites.Select(i => new InviteExport(i.Code, i.Name)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue