add roll command
This commit is contained in:
@@ -475,6 +475,11 @@ const hello = async () => {
|
||||
return {reply: 'Hello World'}
|
||||
}
|
||||
|
||||
const roll = async () => {
|
||||
let r = Math.floor(Math.random() * 10000)
|
||||
return {reply: r}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
addgroup: run.bind(null, addGroup),
|
||||
addpage: run.bind(null, addPage),
|
||||
@@ -483,5 +488,6 @@ module.exports = {
|
||||
deltwitch: run.bind(null, delTwitch),
|
||||
addyoutube: run.bind(null, addYoutube),
|
||||
hello: run.bind(null, hello),
|
||||
image: run.bind(null, image)
|
||||
image: run.bind(null, image),
|
||||
roll: run.bind(null, roll)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user