fix'd
This commit is contained in:
parent
993fb0f295
commit
5fda55ca7a
|
@ -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);
|
||||
});
|
||||
}
|
||||
});
|
||||
}));
|
||||
};
|
Loading…
Reference in New Issue
Block a user