mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
cowsay2 cuz better!1!!!
This commit is contained in:
parent
5351c9d1dc
commit
120c4eb464
2 changed files with 3 additions and 2 deletions
|
@ -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(' '))}`}));
|
||||
},
|
||||
};
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue