mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
23 lines
505 B
JavaScript
23 lines
505 B
JavaScript
module.exports = {
|
|
name: 'discord',
|
|
alias: [],
|
|
description: 'Shows the discord invite',
|
|
usage: '',
|
|
trusted: 0,
|
|
execute: function(bot) {
|
|
bot.core.run('minecraft:tellraw @a' + JSON.stringify([
|
|
{
|
|
text: 'The Discord invite is ',
|
|
color: 'white',
|
|
},
|
|
{
|
|
text: 'https://discord.gg/xdgCkUyaA4',
|
|
color: 'blue',
|
|
clickEvent: {
|
|
action: 'open_url',
|
|
value: 'https://discord.gg/xdgCkUyaA4',
|
|
},
|
|
},
|
|
]));
|
|
},
|
|
};
|