fix smol brain moment

master
Kit Kasune 4 years ago
parent a8288aef1f
commit 2079aa62d7
  1. 2
      commands/secretsanta.js

@ -12,7 +12,7 @@ module.exports = {
.addField("Syntax", "``"), .addField("Syntax", "``"),
async execute(message, msg, args, cmd, prefix, mention, client) { async execute(message, msg, args, cmd, prefix, mention, client) {
if (!args.length) {return message.channel.send(`Syntax: \`${prefix}\``);} if (!args.length) {return message.channel.send(`Syntax: \`${prefix}\``);}
if (['start', 'create', 'new', 'c', 'n', 's'].includes(args[0].toLowerCase())) { if (['create', 'new', 'c', 'n', 's'].includes(args[0].toLowerCase())) {
function clearDM() {client.misc.activeDMs.delete(message.author.id);} function clearDM() {client.misc.activeDMs.delete(message.author.id);}
if (client.misc.activeDMs.has(message.author.id)) {return message.reply("I'm already asking you questions in DM for a separate command! Finish that command before using this one.");} if (client.misc.activeDMs.has(message.author.id)) {return message.reply("I'm already asking you questions in DM for a separate command! Finish that command before using this one.");}
client.misc.activeDMs.set(message.author.id, 'secretsanta-make'); client.misc.activeDMs.set(message.author.id, 'secretsanta-make');

Loading…
Cancel
Save