mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-27 09:35:35 -05:00
18 lines
719 B
JavaScript
18 lines
719 B
JavaScript
const { EmbedBuilder } = require('discord.js')
|
|
module.exports = {
|
|
name: 'creator',
|
|
alias: [],
|
|
description: 'Shows the bot\'s creator',
|
|
usage: '',
|
|
trusted: 0,
|
|
execute (bot, username, sender, prefix, args, config, hash, ownerhash, selector) {
|
|
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()
|
|
.setColor(config.discord.embedsColors.normal)
|
|
.setTitle('Creator')
|
|
.setDescription('ChomeNS Bot was created by chayapak')
|
|
channeldc.send({ embeds: [Embed] })
|
|
}
|
|
}
|