This commit is contained in:
Flummi 2017-03-16 10:01:18 +01:00
parent d649e15476
commit b0cb9080fa

View File

@ -1,5 +1,5 @@
module.exports = (lib) => {
lib.bot.on('privatemessage', (e) => {
e.reply( e.message );
lib.bot.on('notice', (e) => {
bot.send( '#kbot-dev', '[' + e.to + '] ' + e.from.getNick() + ': ' + e.message );
});
};