sharp-chat/SharpChat.Protocol.IRC/ClientCommands/ServiceQueryCommand.cs

19 lines
512 B
C#
Raw Permalink Normal View History

2022-08-30 15:05:29 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpChat.Protocol.IRC.ClientCommands {
public class ServiceQueryCommand : IClientCommand {
public const string NAME = @"SQUERY";
public string CommandName => NAME;
public bool RequireSession => true;
public void HandleCommand(ClientCommandContext args) {
// identical to PRIVMSG but ensures receiver is a service
}
}
}