test
This commit is contained in:
parent
d649e15476
commit
b0cb9080fa
|
@ -1,5 +1,5 @@
|
||||||
module.exports = (lib) => {
|
module.exports = (lib) => {
|
||||||
lib.bot.on('privatemessage', (e) => {
|
lib.bot.on('notice', (e) => {
|
||||||
e.reply( e.message );
|
bot.send( '#kbot-dev', '[' + e.to + '] ' + e.from.getNick() + ': ' + e.message );
|
||||||
});
|
});
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user