mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
24 lines
582 B
JavaScript
24 lines
582 B
JavaScript
/* eslint-disable max-len */
|
|
module.exports = {
|
|
name: 'discord',
|
|
alias: [],
|
|
description: 'Shows the discord invite',
|
|
usage: '',
|
|
trusted: 0,
|
|
execute: function(bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
|
|
bot.tellraw(selector, [
|
|
{
|
|
text: 'The Discord invite is ',
|
|
color: 'white',
|
|
},
|
|
{
|
|
text: 'https://discord.gg/xdgCkUyaA4',
|
|
color: 'blue',
|
|
clickEvent: {
|
|
action: 'open_url',
|
|
value: 'https://discord.gg/xdgCkUyaA4',
|
|
},
|
|
},
|
|
]);
|
|
},
|
|
};
|