コード例 #1
0
        public static Task <IDiscordGuildUser> FindUserAsync(this IDiscordGuild guild, IContext context)
        {
            if (context.GetArgumentPack().Take(out string resource))
            {
                return(guild.FindUserAsync(resource));
            }

            throw new InvalidEntityException("user");
        }