예제 #1
0
        public async Task ViewProfileAsync(SocketUser user = null)
        {
            user ??= Context.User;
            Context.TryGetUser(user.Id, out ArcadeUser account);

            if (await CatchEmptyAccountAsync(account))
            {
                return;
            }

            await Context.Channel.SendMessageAsync(ProfileViewer.View(account, Context));
        }