add cowsay to vm context

This commit is contained in:
ChomeNS 2022-08-22 17:16:36 +07:00
parent 120c4eb464
commit d5252a1885

View file

@ -21,7 +21,7 @@ const rl = readline.createInterface({input, output});
const querystring = require('querystring'); const querystring = require('querystring');
const moment = require('moment-timezone'); const moment = require('moment-timezone');
const urban = require('urban-dictionary'); const urban = require('urban-dictionary');
const cowsay = require('cowsay'); const cowsay = require('cowsay2');
const {stylize} = require('./util/colors/minecraft'); const {stylize} = require('./util/colors/minecraft');
const translate = require('@vitalets/google-translate-api'); const translate = require('@vitalets/google-translate-api');
const axios = require('axios'); const axios = require('axios');
@ -250,6 +250,7 @@ function main() {
bot.bruhifyText = message.substring(0, 1000); bot.bruhifyText = message.substring(0, 1000);
}, },
generateEaglerUsername: generateEaglerUsername, generateEaglerUsername: generateEaglerUsername,
cowsay: cowsay,
}, },
// require: { // require: {
// mock: { // mock: {