chore: format with csharpier
This commit is contained in:
parent
2f516dcb73
commit
4f54077c68
59 changed files with 2000 additions and 942 deletions
|
|
@ -2,7 +2,8 @@ using Remora.Discord.Gateway.Results;
|
|||
|
||||
namespace Catalogger.Backend.Bot;
|
||||
|
||||
public class ShardedDiscordService(ShardedGatewayClient client, IHostApplicationLifetime lifetime) : BackgroundService
|
||||
public class ShardedDiscordService(ShardedGatewayClient client, IHostApplicationLifetime lifetime)
|
||||
: BackgroundService
|
||||
{
|
||||
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
||||
{
|
||||
|
|
@ -10,4 +11,4 @@ public class ShardedDiscordService(ShardedGatewayClient client, IHostApplication
|
|||
if (result.Error is GatewayError { IsCritical: true })
|
||||
lifetime.StopApplication();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue