fix: actually store ignored channels/roles

This commit is contained in:
sam 2024-11-18 20:47:58 +01:00
parent 19d9f33454
commit e12bd6194b
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
12 changed files with 37 additions and 25 deletions

View file

@ -261,7 +261,7 @@ public class ChannelCommandsComponents(
throw new ArgumentOutOfRangeException();
}
await guildRepository.UpdateChannelConfigAsync(guildId, guildConfig);
await guildRepository.UpdateConfigAsync(guildId, guildConfig);
goto case "return";
case "return":
var (e, c) = ChannelCommands.BuildRootMenu(guildChannels, guild, guildConfig);
@ -384,7 +384,7 @@ public class ChannelCommandsComponents(
throw new ArgumentOutOfRangeException();
}
await guildRepository.UpdateChannelConfigAsync(guildId, guildConfig);
await guildRepository.UpdateConfigAsync(guildId, guildConfig);
List<IEmbed> embeds =
[