clean
This commit is contained in:
parent
6065dd55e3
commit
43043d1eba
@ -14,7 +14,6 @@ import { logger } from '@squeebot/core/lib/core';
|
|||||||
import { IIRCMessage, IRC } from './irc';
|
import { IIRCMessage, IRC } from './irc';
|
||||||
|
|
||||||
import { IRCFormatter } from './format';
|
import { IRCFormatter } from './format';
|
||||||
import { IIRCLine } from './parser';
|
|
||||||
|
|
||||||
class IRCMessage implements IMessage {
|
class IRCMessage implements IMessage {
|
||||||
public time: Date = new Date();
|
public time: Date = new Date();
|
||||||
@ -242,28 +241,6 @@ class IRCProtocol extends Protocol {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
TODO: Control system
|
|
||||||
Temporary documentation:
|
|
||||||
{
|
|
||||||
name: 'service-name',
|
|
||||||
restart: false,
|
|
||||||
irc: {
|
|
||||||
nick: 'Squeebot',
|
|
||||||
host: 'localhost',
|
|
||||||
port: 6667,
|
|
||||||
password: null,
|
|
||||||
sasl: false,
|
|
||||||
ssl: false,
|
|
||||||
channels: [],
|
|
||||||
nickserv: {
|
|
||||||
enabled: false,
|
|
||||||
command: 'STATUS'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
@InjectService(IRCProtocol)
|
@InjectService(IRCProtocol)
|
||||||
@Configurable({ instances: [] })
|
@Configurable({ instances: [] })
|
||||||
class IRCServicePlugin extends Plugin {
|
class IRCServicePlugin extends Plugin {
|
||||||
|
Loading…
Reference in New Issue
Block a user