mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-30 02:55:44 -05:00
19 lines
761 B
JavaScript
19 lines
761 B
JavaScript
/* eslint-disable max-len */
|
|
const {MessageEmbed} = require('discord.js');
|
|
module.exports = {
|
|
name: 'creator',
|
|
alias: [],
|
|
description: 'Shows the bot\'s creator',
|
|
usage: '',
|
|
trusted: 0,
|
|
execute: function(bot, username, usernameraw, 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: function(bot, username, usernameraw, sender, prefix, args, channeldc, message) {
|
|
const Embed = new MessageEmbed()
|
|
.setColor('#FFFF00')
|
|
.setTitle('Creator')
|
|
.setDescription('ChomeNS Bot was created by chayapak');
|
|
channeldc.send({embeds: [Embed]});
|
|
},
|
|
};
|