chomens-bot-js/commands/bruhify.js
2022-11-16 18:41:30 +07:00

20 lines
696 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]});
},
};