diff --git a/Nellebot/Infrastructure/NoWayGateway.cs b/Nellebot/Infrastructure/NoWayGateway.cs index fbd8b77d..eb40ae5a 100644 --- a/Nellebot/Infrastructure/NoWayGateway.cs +++ b/Nellebot/Infrastructure/NoWayGateway.cs @@ -34,6 +34,12 @@ public async Task HeartbeatedAsync(IGatewayClient client) await _eventQueue.Writer.WriteAsync(new ClientHeartbeatNotification(heartbeatTimestamp, ping)); } + public Task ResumeAttemptedAsync(IGatewayClient client) + { + _discordLogger.LogExtendedActivityMessage("Resume attempted."); + return Task.CompletedTask; + } + public Task ReconnectRequestedAsync(IGatewayClient client) { _discordLogger.LogExtendedActivityMessage("Reconnect requested."); diff --git a/Nellebot/Infrastructure/ServiceCollectionExtensions.cs b/Nellebot/Infrastructure/ServiceCollectionExtensions.cs index 07b369ad..0ea3d979 100644 --- a/Nellebot/Infrastructure/ServiceCollectionExtensions.cs +++ b/Nellebot/Infrastructure/ServiceCollectionExtensions.cs @@ -88,7 +88,7 @@ private static void RegisterCommands(this DiscordClientBuilder builder, IConfigu }; builder.UseCommands( - commands => + (_, commands) => { commands.AddCommands(typeof(Program).Assembly, guildId); diff --git a/Nellebot/Nellebot.csproj b/Nellebot/Nellebot.csproj index e4886b33..e8d97b88 100644 --- a/Nellebot/Nellebot.csproj +++ b/Nellebot/Nellebot.csproj @@ -7,9 +7,9 @@ - - - + + +