fixed pubsub not supporting tuples
This commit is contained in:
parent
74767e8661
commit
45d9fa08db
3 changed files with 3 additions and 2 deletions
|
@ -42,7 +42,7 @@ public partial class Administration
|
|||
|
||||
[Cmd]
|
||||
[OwnerOnly]
|
||||
public async Task LeaveUnkeptServers(int shardId = 0, int delay = 1000)
|
||||
public async Task LeaveUnkeptServers(int shardId, int delay = 1000)
|
||||
{
|
||||
var keptGuildCount = await _svc.GetKeptGuildCount();
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ public sealed class CleanupService : ICleanupService, IReadyExecutor, IEService
|
|||
|
||||
private bool keepTriggered = false;
|
||||
|
||||
private async ValueTask InternalTriggerKeep((int shardId, int delay) data)
|
||||
private async ValueTask InternalTriggerKeep((int, int) data)
|
||||
{
|
||||
var (shardId, delay) = data;
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ public class JsonSeria : ISeria
|
|||
{
|
||||
private readonly JsonSerializerOptions _serializerOptions = new()
|
||||
{
|
||||
IncludeFields = true,
|
||||
Converters =
|
||||
{
|
||||
new Rgba32Converter(),
|
||||
|
|
Loading…
Reference in a new issue