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

namespace Railgun.Protocols.SockChat.Commands
{
    public sealed class SockChatIpCommand : SockChatCommand
    {
        public override string[] Names => new[] { SockChatConstants.CMD_IP, SockChatConstants.CMD_WHOIS };
        public override string Summary => @"View a user's IP address.";
        public override Type[] RequiredPermissions => new[] { typeof(ChatBanPermission) };
        public override string[] RequiredArgs => new[] { @"username" };

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

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