2.4.8 • Published 5 years ago
hubot-doge-utility-functions v2.4.8
hubot-doge-utility-functions
hubot-doge-utility-functions is a multi-purpose hubot utility package needed as a dependency in the doge-bot (a robust hubot housing several programs).
Installation
npm install --save hubot-doge-utility-functions
In order to access the utility functions include them at the top of your JS file:
// using ES6 destructuring to instantiate FU and RBU
const {FU, RBU} = require('hubot-doge-utility-functions')
Then access them off of the FU
and RBU
objects:
module.exports = (robot) => {
// hubot robot respond method
robot.respond(/hello world/i, (msg) => {
RBU.newUserCheckAndCreate(robot, msg.message.user.id)
})
}
2.4.8
5 years ago
2.4.7
5 years ago
2.4.6
5 years ago
2.4.5
5 years ago
2.3.5
6 years ago
2.3.4
6 years ago
2.3.3
6 years ago
2.3.2
6 years ago
2.3.1
6 years ago
2.3.0
6 years ago
2.2.0
6 years ago
2.1.0
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.4.4
6 years ago
1.4.3
6 years ago
1.4.2
6 years ago
1.3.2
6 years ago
1.3.1
6 years ago
1.3.0
6 years ago
1.2.0
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago