2016-10-12 21:58:16 -07:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// Copyright © 2016 Project Golan
|
|
|
|
//
|
|
|
|
// See "LICENSE" for more information.
|
|
|
|
//
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// IRC client.
|
|
|
|
//
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
2016-11-20 09:13:26 -08:00
|
|
|
namespace ProjectGolan.Vrobot3.Client
|
2016-10-12 21:58:16 -07:00
|
|
|
{
|
2016-11-20 09:13:26 -08:00
|
|
|
public class ClientIRC : IChatClient
|
2016-10-12 21:58:16 -07:00
|
|
|
{
|
2016-11-20 09:13:26 -08:00
|
|
|
public ClientIRC(Bot bot) : base(bot)
|
2016-10-12 21:58:16 -07:00
|
|
|
{
|
2016-10-27 23:48:58 -07:00
|
|
|
this.info.hasAudio = false;
|
|
|
|
this.info.hasColors = true;
|
|
|
|
this.info.hasNewlines = false;
|
|
|
|
this.info.messageSafeMaxLen = 601;
|
|
|
|
this.info.shortMessages = true;
|
2016-10-12 21:58:16 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
public override void connect() {}
|
|
|
|
public override void disconnect() {}
|
|
|
|
public override Channel getChannel(ulong id) => new Channel{};
|
|
|
|
public override void joinChannel(Channel channel) {}
|
|
|
|
public override void partChannel(Channel channel) {}
|
|
|
|
public override void sendAction(Channel channel, String msg) {}
|
|
|
|
public override void sendMessage(Channel channel, String msg) {}
|
2016-10-27 23:48:58 -07:00
|
|
|
public override bool userPermitted(User usr, BotRole role) => true;
|
2016-10-12 21:58:16 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// EOF
|