Fixed some build warnings. Fixed TimeOut punishment not allowing duration

This commit is contained in:
Kwoth
2022-12-22 21:18:26 +01:00
parent ffcbfe6467
commit 8dca948224
3 changed files with 14 additions and 12 deletions

View File

@@ -90,7 +90,7 @@ public sealed class LogCommandService : ILogCommandService, IReadyExecutor
_punishService.OnUserWarned += PunishServiceOnOnUserWarned;
}
private async Task _client_ThreadDeleted(Cacheable<SocketThreadChannel, ulong> sch)
private Task _client_ThreadDeleted(Cacheable<SocketThreadChannel, ulong> sch)
{
_ = Task.Run(async () =>
{
@@ -120,6 +120,7 @@ public sealed class LogCommandService : ILogCommandService, IReadyExecutor
// ignored
}
});
return Task.CompletedTask;
}
private Task _client_ThreadCreated(SocketThreadChannel sch)