From d5252a1885ea981d30d21db61c84b1cca9ce88cb Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Mon, 22 Aug 2022 17:16:36 +0700 Subject: [PATCH] add cowsay to vm context --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 80ed76a..126f4d4 100644 --- a/index.js +++ b/index.js @@ -21,7 +21,7 @@ const rl = readline.createInterface({input, output}); const querystring = require('querystring'); const moment = require('moment-timezone'); const urban = require('urban-dictionary'); -const cowsay = require('cowsay'); +const cowsay = require('cowsay2'); const {stylize} = require('./util/colors/minecraft'); const translate = require('@vitalets/google-translate-api'); const axios = require('axios'); @@ -250,6 +250,7 @@ function main() { bot.bruhifyText = message.substring(0, 1000); }, generateEaglerUsername: generateEaglerUsername, + cowsay: cowsay, }, // require: { // mock: {