﻿using Railgun.Common.Chat.Permissions;
using Railgun.Protocols.SockChat.ServerMessages;
using System;
using System.Collections.Generic;

namespace Railgun.Protocols.SockChat.Commands
{
    public sealed class SockChatUnBanCommand : SockChatCommand
    {
        public override string[] Names => new[] { SockChatConstants.CMD_UNBAN, SockChatConstants.CMD_PARDON };
        public override string Summary => @"Pardons a user kick or ban.";
        public override Type[] RequiredPermissions => new[] { typeof(ChatBanUserPermission) };
        public override string[] RequiredArgs => new[] { @"username" };

        public SockChatUnBanCommand(SockChatSession session) : base(session)
        {
        }

        public override IEnumerable<SockChatServerMessage> Handle(string[] args)
        {
            return null;
        }
    }
}
