This commit is contained in:
Flummi 2017-11-28 17:46:34 +01:00
parent 993fb0f295
commit 5fda55ca7a

View File

@ -1,7 +1,7 @@
const rp = require("request-promise");
module.exports = bot => {
bot._trigger.set("wttr", {
bot._trigger.set("wttr", new bot.trigger({
call: /^\.wttr .*/i,
level: 0,
active: true,
@ -58,5 +58,5 @@ module.exports = bot => {
console.log(err);
});
}
});
}));
};