From 0b8057945b53f06c032f5a37c3f400b71806e931 Mon Sep 17 00:00:00 2001 From: 035WasTaken <60830475+035WasTaken@users.noreply.github.com> Date: Fri, 30 Oct 2020 22:30:10 -0400 Subject: [PATCH] Update blood.js do good code nerd --- commands/blood.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/blood.js b/commands/blood.js index c3b8e31..d0ec2b9 100644 --- a/commands/blood.js +++ b/commands/blood.js @@ -1,9 +1,9 @@ module.exports = { - name: 'ood', + name: 'blood', description: 'clone and delete channel', admin: true, execute(message, args) { - if (args[0] === 'for' && args[1] === 'the' && args[2] === 'blood' && args[3] === 'god!') { + if (args.join(" ").toLowerCase() !== "for the blood god!") { message.channel.clone(); message.channel.delete(); }