You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicasyncTaskGrant(CommandContextctx,[Parameter("user"),Description("The user to grant Tier 1 to.")]DiscordUser_)
9
+
publicasyncTaskGrant(CommandContextctx,[Parameter("user"),Description("The user to grant Tier 1 to.")]DiscordUseruser)
10
10
{
11
-
awaitctx.RespondAsync($"{Program.cfgjson.Emoji.Error} This command is deprecated and no longer works. Please right click (or tap and hold on mobile) the user and click \"Verify Member\" if available.");
11
+
DiscordMembermember=default;
12
+
try
13
+
{
14
+
member=awaitctx.Guild.GetMemberAsync(user.Id);
15
+
}
16
+
catch(Exception)
17
+
{
18
+
awaitctx.RespondAsync($"{Program.cfgjson.Emoji.Error} That user does not appear to be in the server!");
0 commit comments