fixed pubsub not supporting tuples

This commit is contained in:
Toastie 2024-08-28 20:05:04 +12:00
parent 74767e8661
commit 45d9fa08db
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
3 changed files with 3 additions and 2 deletions

View file

@ -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();

View file

@ -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;

View file

@ -7,6 +7,7 @@ public class JsonSeria : ISeria
{
private readonly JsonSerializerOptions _serializerOptions = new()
{
IncludeFields = true,
Converters =
{
new Rgba32Converter(),