|
|
|
@ -10,22 +10,21 @@ |
|
|
|
|
"scope": "javascript,typescript", |
|
|
|
|
"prefix": "djscmd", |
|
|
|
|
"body": [ |
|
|
|
|
"const Discord = require('discord.js');${1:\nconst = require(\"\");\n}", |
|
|
|
|
"const Discord = require('discord.js');${1:\n${2:\n}const $3 = require(\"$4\");\n}", |
|
|
|
|
"module.exports = {", |
|
|
|
|
" name: \"$2\",", |
|
|
|
|
" aliases: [$3],", |
|
|
|
|
" name: \"$5\",", |
|
|
|
|
" aliases: [$6],", |
|
|
|
|
" meta: {", |
|
|
|
|
" category: '$4',", |
|
|
|
|
" description: \"$5\",", |
|
|
|
|
" syntax: '`$6`',", |
|
|
|
|
" extra: ${7:null}${8:,\n guildOnly: true}", |
|
|
|
|
" },", |
|
|
|
|
" category: '$7',", |
|
|
|
|
" description: \"$8\",", |
|
|
|
|
" syntax: '`$9`',", |
|
|
|
|
" extra: ${10:null}${11:,\n guildOnly: true}", |
|
|
|
|
" },${12:\n cooldown: {\n time: $13,\n silent: ${14|true,false|}${15:,\n message: \"$16\"\\}},}", |
|
|
|
|
" help: new Discord.MessageEmbed()", |
|
|
|
|
" .setTitle(\"Help -> $9\")", |
|
|
|
|
" .setDescription(\"$10\")${11:\n .addField(\"\", \"\")}", |
|
|
|
|
" .addField(\"Syntax\", \"`$6`\"),", |
|
|
|
|
" async execute(message, msg, args, cmd, prefix, mention, client) {", |
|
|
|
|
" if (!args.length) {return message.channel.send(`Syntax: \\`\\${prefix}$6\\``);}", |
|
|
|
|
" .setTitle(\"Help -> $17\")", |
|
|
|
|
" .setDescription(\"$18\")${19:\n .addField(\"$20\", \"$21\")}", |
|
|
|
|
" .addField(\"Syntax\", \"`$9`\"),", |
|
|
|
|
" async execute(message, msg, args, cmd, prefix, mention, client) {${22:\n if (!args.length) {return message.channel.send(`Syntax: \\`\\${prefix\\}$9\\``);\\}}", |
|
|
|
|
" $0", |
|
|
|
|
" }", |
|
|
|
|
"};", |
|
|
|
|