예제 #1
0
        public async Task ProfileCard(SocketUser userT = null)
        {
            var user = userT ?? Context.User;

            if (user.IsBot)
            {
                await ReplyAsync("",
                                 embed : Utility.ResultFeedback(Utility.RedFailiureEmbed, Utility.SuccessLevelEmoji[2], "Bots don't have a profile!"));

                return;
            }
            var typing = Context.Channel.EnterTypingState();

            typing.Dispose();
            await _profileService.DrawProfileCard(Context, user);
        }