chomens-bot-js/commands/bruhify.js
2022-12-01 17:15:30 +07:00

20 lines
711 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, message, config) {
bot.bruhifyText = args.join(' ')
const Embed = new MessageEmbed()
.setColor(config.discord.embedsColors.normal)
.setTitle('Bruhify')
.setDescription(`Bruhify set to: ${bot.bruhifyText}`)
channeldc.send({ embeds: [Embed] })
}
}