diff --git a/Services/GifCommand.cs b/Services/GifCommand.cs index 990ee33..7697d3c 100644 --- a/Services/GifCommand.cs +++ b/Services/GifCommand.cs @@ -150,6 +150,6 @@ await SendGif(request.Channel.Id, } - await Client.Respond(request.ResponseUrl, new SlackNet.Interaction.MessageUpdateResponse(new MessageResponse { DeleteOriginal = true }), null); + await Client.Respond(request.ResponseUrl, new SlackNet.Interaction.MessageUpdateResponse(new MessageResponse { DeleteOriginal = true }), System.Threading.CancellationToken.None); } } diff --git a/Services/InviteService.cs b/Services/InviteService.cs index c38979d..7a09715 100644 --- a/Services/InviteService.cs +++ b/Services/InviteService.cs @@ -179,7 +179,7 @@ await SlackApiClient.Chat.PostMessage(new Message if (request is not null) { - await SlackApiClient.Respond(request.ResponseUrl, new SlackNet.Interaction.MessageUpdateResponse(new MessageResponse { DeleteOriginal = true }), null); + await SlackApiClient.Respond(request.ResponseUrl, new SlackNet.Interaction.MessageUpdateResponse(new MessageResponse { DeleteOriginal = true }), System.Threading.CancellationToken.None); } await SlackApiClient.Chat.PostMessage(new Message { diff --git a/devanewbot.csproj b/devanewbot.csproj index 7366490..8685c67 100644 --- a/devanewbot.csproj +++ b/devanewbot.csproj @@ -8,22 +8,22 @@ - + - - - + + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + - - + +