chomens-bot-js/commands/bruhify.js
2022-11-27 14:35:28 +07:00

20 lines
689 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: function (bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
bot.bruhifyText = args.join(' ')
},
discordExecute: function (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] })
}
}