14 lines
365 B
C#
14 lines
365 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace IRCRobots
|
|
{
|
|
public interface IBot
|
|
{
|
|
public IServer CreateServer(string name);
|
|
public Task<bool> Disconnected(IServer server);
|
|
public Task Disconnect(IServer server);
|
|
public Task<IServer> AddServer(string name, ConnectionParams connectionParams);
|
|
public Task Run();
|
|
}
|
|
}
|