added matrix quotes

This commit is contained in:
2023-06-08 22:06:48 -04:00
parent 77513c4c8d
commit d07dc0260b
2 changed files with 64 additions and 2 deletions

View File

@ -1,7 +1,7 @@
'use strict';
const axios = require('axios');
const matrixQuotes = require('../../model/matrix_quotes');
let ballOptions = [
"It is certain.",
@ -135,7 +135,14 @@ module.exports = {
await this.say(`> I pick [${player.lvl}]${player.username}`)
}
},
'matrix-quote': {
desc: `Random Matrix quote.`,
async function(from){
await this.say(
`${from} are you ready?`,
`> ${matrixQuotes[Math.floor(Math.random()*matrixQuotes.length)]}`);
}
}
// bot.addCommand('pink-quote', {
// desc: `Say a random Pink Floyd quote.`,
// async function(from) {