mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-12-17 19:02:22 -05:00
6895a37104
i totally did not used the search icon thing in vscode
23 lines
469 B
JavaScript
23 lines
469 B
JavaScript
module.exports = {
|
|
name: 'discord',
|
|
alias: [],
|
|
description: 'Shows the discord invite',
|
|
usage: '',
|
|
trusted: 0,
|
|
execute: function(bot) {
|
|
bot.tellraw('@a', [
|
|
{
|
|
text: 'The Discord invite is ',
|
|
color: 'white',
|
|
},
|
|
{
|
|
text: 'https://discord.gg/xdgCkUyaA4',
|
|
color: 'blue',
|
|
clickEvent: {
|
|
action: 'open_url',
|
|
value: 'https://discord.gg/xdgCkUyaA4',
|
|
},
|
|
},
|
|
]);
|
|
},
|
|
};
|