chomens-bot-js/commands/creator.js

19 lines
719 B
JavaScript
Raw Normal View History

const { EmbedBuilder } = require('discord.js')
2022-08-14 05:51:45 -04:00
module.exports = {
name: 'creator',
alias: [],
description: 'Shows the bot\'s creator',
usage: '',
trusted: 0,
execute (bot, username, sender, prefix, args, config, hash, ownerhash, selector) {
2022-11-27 02:35:28 -05:00
bot.tellraw(selector, [{ text: 'ChomeNS Bot ', color: 'yellow' }, { text: 'was created by ', color: 'white' }, { text: 'chayapak', color: 'gold' }])
},
discordExecute (bot, username, sender, prefix, args, channeldc, message, config) {
const Embed = new EmbedBuilder()
2022-12-01 05:15:30 -05:00
.setColor(config.discord.embedsColors.normal)
2022-11-27 02:35:28 -05:00
.setTitle('Creator')
.setDescription('ChomeNS Bot was created by chayapak')
channeldc.send({ embeds: [Embed] })
}
}