fixed time
This commit is contained in:
@ -90,7 +90,7 @@ class irc {
|
||||
channel: tmp.params[0],
|
||||
user: user,
|
||||
message: tmp.params[1].replace(/\r?\n|\r/g, ''),
|
||||
time: Date.now(),
|
||||
time: ~~(Date.now() / 1000),
|
||||
reply: msg => {
|
||||
this.send(`PRIVMSG ${tmp.params[0]} ${msg}`);
|
||||
},
|
||||
|
@ -64,4 +64,4 @@ const replytg = (bot, tmp) => { // muss noch hier raus
|
||||
};
|
||||
|
||||
util.inherits(wrapper, EventEmitter);
|
||||
export default { wrapper };
|
||||
export default { wrapper, clients };
|
Reference in New Issue
Block a user