1
0
Fork 0
mirror of https://github.com/ChomeNS/chomens-bot-mc.git synced 2025-07-15 16:35:18 -04:00
chomens-bot-js/commands/creator.js

20 lines
774 B
JavaScript
Raw Normal View History

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