using Campofinale.Resource;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Campofinale.Commands.Handlers
{
    public static class CommandKick
    {
        [Server.Command("kick", "kick target", true)]
        public static void Handle(Player sender, string cmd, string[] args, Player target)
        {
            target.Kick(CODE.ErrKickSessionEnd, "Kicked");
            CommandManager.SendMessage(sender,"Kicked " + target.accountId);
        }
    }
}
