mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 00:19:00 +03:00
Upgrade NuGet dependencies (#313)
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
ea9302e185
commit
daef4f1d48
2 changed files with 9 additions and 8 deletions
|
@ -12,11 +12,12 @@ public static class ChannelApiExtensions
|
|||
public static async Task<Result> CreateMessageWithEmbedResultAsync(this IDiscordRestChannelAPI channelApi,
|
||||
Snowflake channelId, Optional<string> message = default, Optional<string> nonce = default,
|
||||
Optional<bool> isTextToSpeech = default, Optional<Result<Embed>> embedResult = default,
|
||||
Optional<IAllowedMentions> allowedMentions = default, Optional<IMessageReference> messageRefenence = default,
|
||||
Optional<IAllowedMentions> allowedMentions = default, Optional<IMessageReference> messageReference = default,
|
||||
Optional<IReadOnlyList<IMessageComponent>> components = default,
|
||||
Optional<IReadOnlyList<Snowflake>> stickerIds = default,
|
||||
Optional<IReadOnlyList<OneOf<FileData, IPartialAttachment>>> attachments = default,
|
||||
Optional<MessageFlags> flags = default, CancellationToken ct = default)
|
||||
Optional<MessageFlags> flags = default, Optional<bool> enforceNonce = default,
|
||||
Optional<IPollCreateRequest> poll = default, CancellationToken ct = default)
|
||||
{
|
||||
if (!embedResult.IsDefined() || !embedResult.Value.IsDefined(out var embed))
|
||||
{
|
||||
|
@ -24,6 +25,6 @@ public static class ChannelApiExtensions
|
|||
}
|
||||
|
||||
return (Result)await channelApi.CreateMessageAsync(channelId, message, nonce, isTextToSpeech, new[] { embed },
|
||||
allowedMentions, messageRefenence, components, stickerIds, attachments, flags, ct);
|
||||
allowedMentions, messageReference, components, stickerIds, attachments, flags, enforceNonce, poll, ct);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,16 +22,16 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="DiffPlex" Version="1.7.2" />
|
||||
<PackageReference Include="GitInfo" Version="3.3.4" />
|
||||
<PackageReference Include="GitInfo" Version="3.3.5" />
|
||||
<PackageReference Include="Humanizer.Core.ru" Version="2.14.1" />
|
||||
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" />
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" />
|
||||
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
|
||||
<PackageReference Include="Remora.Commands" Version="10.0.5" />
|
||||
<PackageReference Include="Remora.Discord.Caching" Version="38.0.1" />
|
||||
<PackageReference Include="Remora.Discord.Extensions" Version="5.3.4" />
|
||||
<PackageReference Include="Remora.Discord.Hosting" Version="6.0.9" />
|
||||
<PackageReference Include="Remora.Discord.Interactivity" Version="4.5.3" />
|
||||
<PackageReference Include="Remora.Discord.Caching" Version="39.0.0" />
|
||||
<PackageReference Include="Remora.Discord.Extensions" Version="5.3.5" />
|
||||
<PackageReference Include="Remora.Discord.Hosting" Version="6.0.10" />
|
||||
<PackageReference Include="Remora.Discord.Interactivity" Version="4.5.4" />
|
||||
<PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in a new issue