chomens-bot-js/commands/bruhify.js

20 lines
669 B
JavaScript

/* eslint-disable max-len */
const { MessageEmbed } = require('discord.js')
module.exports = {
name: 'bruhify',
alias: [],
description: 'RecycleBot bruhify but actionbar',
usage: '<message>',
trusted: 0,
execute (bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
bot.bruhifyText = args.join(' ')
},
discordExecute (bot, username, usernameraw, sender, prefix, args, channeldc) {
bot.bruhifyText = args.join(' ')
const Embed = new MessageEmbed()
.setColor('#FFFF00')
.setTitle('Bruhify')
.setDescription(`Bruhify set to: ${bot.bruhifyText}`)
channeldc.send({ embeds: [Embed] })
}
}