cowsay2 cuz better!1!!!

This commit is contained in:
ChomeNS 2022-08-22 17:14:03 +07:00
parent 5351c9d1dc
commit 120c4eb464
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,5 @@
/* eslint-disable max-len */
const cowsay = require('cowsay');
const cowsay = require('cowsay2');
module.exports = {
name: 'cowsay',
alias: [],
@ -7,6 +7,6 @@ module.exports = {
usage: '<message>',
trusted: 0,
execute: function(bot, username, usernameraw, sender, prefix, args) {
bot.core.run('minecraft:tellraw @a ' + JSON.stringify({text: `${cowsay.say({text: args.join(' ')})}`}));
bot.core.run('minecraft:tellraw @a ' + JSON.stringify({text: `${cowsay.say(args.join(' '))}`}));
},
};

View file

@ -16,6 +16,7 @@
"axios": "^0.27.2",
"color-convert": "^2.0.1",
"cowsay": "^1.5.0",
"cowsay2": "^2.0.4",
"discord-webhook-node": "^1.1.8",
"discord.js": "^13.7.0",
"flying-squid": "^1.5.0",