refactor: change ulong[] to List<ulong> for better ergonomics

This commit is contained in:
sam 2024-11-18 21:01:52 +01:00
parent e12bd6194b
commit 4eb5c16451
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
8 changed files with 37 additions and 46 deletions

View file

@ -140,11 +140,11 @@ public partial class GuildsController(
IEnumerable<GuildCategory> Categories,
IEnumerable<GuildChannel> ChannelsWithoutCategory,
IEnumerable<GuildRole> Roles,
ulong[] IgnoredChannels,
ulong[] IgnoredRoles,
List<ulong> IgnoredChannels,
List<ulong> IgnoredRoles,
Database.Models.Guild.MessageConfig Messages,
Database.Models.Guild.ChannelConfig Channels,
ulong[] KeyRoles
List<ulong> KeyRoles
);
private record GuildCategory(string Id, string Name, IEnumerable<GuildChannel> Channels);