reformat
This commit is contained in:
parent
7ea945b427
commit
99c1587e7b
12 changed files with 35 additions and 35 deletions
|
|
@ -31,7 +31,8 @@ public class ChannelCacheService
|
|||
});
|
||||
}
|
||||
|
||||
public bool TryGet(Snowflake id, [NotNullWhen(true)] out IChannel? channel) => _channels.TryGetValue(id, out channel);
|
||||
public bool TryGet(Snowflake id, [NotNullWhen(true)] out IChannel? channel) =>
|
||||
_channels.TryGetValue(id, out channel);
|
||||
|
||||
public void Remove(Snowflake? guildId, Snowflake id, out IChannel? channel)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,8 +9,7 @@ public class Guild
|
|||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public required ulong Id { get; init; }
|
||||
|
||||
[Column(TypeName = "jsonb")]
|
||||
public ChannelConfig Channels { get; init; } = new();
|
||||
[Column(TypeName = "jsonb")] public ChannelConfig Channels { get; init; } = new();
|
||||
public List<string> BannedSystems { get; init; } = [];
|
||||
public List<ulong> KeyRoles { get; init; } = [];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue