Example #1
0
        public async Task ShowBalance(IGuildUser user)
        {
            var usr = _userRepo.GetByID(user.Id);

            if (usr == null)
            {
                await ErrorOtherUserDoesntExistInSystem();
            }
            else
            {
                await Context.Channel.SendMessageAsync(embed : CurrencyEmbedBuilder.MakeBalanceEmbed(Context, usr)
                                                       .Result.Build());
            }
        }