add retry policy for grpc clients
This commit is contained in:
@@ -484,6 +484,7 @@ public class DiscordBot : IHostedService
|
||||
vanityUpdateCts = new();
|
||||
while (!vanityUpdateCts.IsCancellationRequested)
|
||||
{
|
||||
logger.LogInformation($"Cleaning up Vanity UIDs");
|
||||
var guild = discordClient.Guilds.FirstOrDefault();
|
||||
if (guild == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user