Example #1
0
        public async Task Heal(IGuildUser guildUser = null)
        {
            UserAccount me = new UserAccount();

            if (guildUser != null)
            {
                me = UserAccounts.GetUserAccount((SocketUser)guildUser);
            }
            else
            {
                me = UserAccounts.GetUserAccount(Context.User);
            }
            UserAccounts.IncreasingHealth(me, 15);
            await Context.Channel.SendMessageAsync("YOU HAVE BEEN HEALED");
        }