2022-08-14 05:51:45 -04:00
/* eslint-disable max-len */
2022-10-21 04:24:04 -04:00
const { MessageEmbed } = 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 : function ( bot ) {
2022-10-21 04:24:04 -04:00
bot . core . run ( 'minecraft:tellraw @a ' + JSON . stringify ( [ { 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 ] } ) ;
2022-08-14 05:51:45 -04:00
} ,
} ;