chomens-bot-js/commands/discord.js

25 lines
566 B
JavaScript
Raw Normal View History

2022-11-20 02:36:30 -05:00
/* eslint-disable max-len */
2022-08-14 05:51:45 -04:00
module.exports = {
name: 'discord',
alias: [],
description: 'Shows the discord invite',
usage: '',
trusted: 0,
execute (bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
2022-11-16 06:41:30 -05:00
bot.tellraw(selector, [
{
text: 'The Discord invite is ',
2022-11-27 02:35:28 -05:00
color: 'white'
},
{
text: 'https://discord.gg/xdgCkUyaA4',
color: 'blue',
clickEvent: {
action: 'open_url',
2022-11-27 02:35:28 -05:00
value: 'https://discord.gg/xdgCkUyaA4'
}
}
])
}
}