From dad517c6fffc6b69f8b06a2a598572115f1247a6 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Sun, 14 Feb 2021 04:06:44 -0700 Subject: [PATCH] add meta to blacklist --- commands/blacklist.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/commands/blacklist.js b/commands/blacklist.js index 48eda50..5909f24 100644 --- a/commands/blacklist.js +++ b/commands/blacklist.js @@ -5,8 +5,16 @@ const GuildData = require('../models/guild') module.exports = { name: "blacklist", aliases: ['bl'], - help: "Disables a user from using Natsuki ( Usage: {{p}}blacklist )", + meta: { + category: 'Developer', + description: "Completely blocks a user or server from using Natsuki!", + syntax: '`blacklist [@mention|ID]`', + extra: null + }, + help: "Disables a user from using Natsuki (Usage: `{{p}}blacklist [@mention|ID])`", async execute(message, msg, args, cmd, prefix, mention, client) { + if (!args.length) {return message.channel.send("Syntax: `blacklist [@mention|ID]`");} + let tu = await UserData.findOne({uid: message.author.id}); if (['g', 'guild'].includes(args[0].toLowerCase())) { @@ -84,4 +92,6 @@ module.exports = { return message.channel.send("Valid args: ` `"); } + + return message.channel.send("Valid args: ``"); }}; \ No newline at end of file