1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-06 05:56:29 +03:00

Bump Remora.Discord.Interactivity from 4.5.0 to 4.5.1 (#68)

Bumps Remora.Discord.Interactivity from 4.5.0 to 4.5.1.

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
dependabot[bot] 2023-07-24 16:57:41 +05:00 committed by GitHub
parent f752ebf101
commit abce09f26d
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 38 additions and 40 deletions

View file

@ -1,4 +1,3 @@
using System.Diagnostics.CodeAnalysis;
using System.Net;
using System.Text;
using DiffPlex.DiffBuilder.Model;
@ -182,11 +181,10 @@ public static class Extensions {
}
public static bool TryGetContextIDs(
this ICommandContext context, [NotNullWhen(true)] out Snowflake? guildId,
[NotNullWhen(true)] out Snowflake? channelId, [NotNullWhen(true)] out Snowflake? userId) {
guildId = null;
channelId = null;
userId = null;
this ICommandContext context, out Snowflake guildId,
out Snowflake channelId, out Snowflake userId) {
channelId = default;
userId = default;
return context.TryGetGuildID(out guildId)
&& context.TryGetChannelID(out channelId)
&& context.TryGetUserID(out userId);