Skip to content

Commit

Permalink
Merge pull request #255 from NELLExchange/chore/dsharp-alfa-5
Browse files Browse the repository at this point in the history
Chore/Update DSharp to v5-alfa5
  • Loading branch information
selfdocumentingcode authored Nov 30, 2024
2 parents 1c1453c + c4d76cb commit 8ef4c4b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Nellebot/Infrastructure/NoWayGateway.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down
2 changes: 1 addition & 1 deletion Nellebot/Infrastructure/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private static void RegisterCommands(this DiscordClientBuilder builder, IConfigu
};

builder.UseCommands(
commands =>
(_, commands) =>
{
commands.AddCommands(typeof(Program).Assembly, guildId);

Expand Down
6 changes: 3 additions & 3 deletions Nellebot/Nellebot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DSharpPlus" Version="5.0.0-nightly-02359" />
<PackageReference Include="DSharpPlus.Interactivity" Version="5.0.0-nightly-02359" />
<PackageReference Include="DSharpPlus.Commands" Version="5.0.0-nightly-02359" />
<PackageReference Include="DSharpPlus" Version="5.0.0-alpha.5" />
<PackageReference Include="DSharpPlus.Interactivity" Version="5.0.0-alpha.5" />
<PackageReference Include="DSharpPlus.Commands" Version="5.0.0-alpha.5" />
<PackageReference Include="MediatR" Version="12.4.1" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection.Abstractions" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection.Extensions" Version="8.0.8" />
Expand Down

0 comments on commit 8ef4c4b

Please sign in to comment.