From ac5d3dc78c4a971c9e322a53fac0b054ef528670 Mon Sep 17 00:00:00 2001 From: mudkipscience Date: Fri, 22 May 2020 12:16:57 +1000 Subject: [PATCH] bot can no longer use @here --- src/commands/rate.js | 2 +- src/commands/say.js | 4 ++-- version.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/rate.js b/src/commands/rate.js index 64ded10..31e05dd 100644 --- a/src/commands/rate.js +++ b/src/commands/rate.js @@ -17,7 +17,7 @@ var rating = [ "10/10" ]; -if (message.content.includes("@everyone")) { +if (message.content.includes("@everyone") || message.content.includes("@here")) { return message.channel.send('>:('); } diff --git a/src/commands/say.js b/src/commands/say.js index e63fc48..a6c3cca 100644 --- a/src/commands/say.js +++ b/src/commands/say.js @@ -4,8 +4,8 @@ exports.run = (client, message, args, level) => { `<:error:466995152976871434> No message provided. Usage: \`${client.commands.get(`echo`).help.usage}\`` ); }; - if (message.content.includes("@everyone")) { - return message.channel.send(message.author); + if (message.content.includes("@everyone") || message.content.includes("@here")) { + return message.channel.send('>:('); }; message.delete().catch(O_o => {}); diff --git a/version.json b/version.json index f09800b..a0e07a1 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "number": "1.3.1", + "number": "1.3.2", "changelog": "**1.3.0 Changelog:**\n> • Music module has been rewritten for better stability and lots more features\n> • Force disconnecting Woomy from a voice channel no longer breaks music\n> • Music should (hopefully) break less in general\n> • Existing music commands have been rewritten\n> • Added the following new commands: fixmusic, movehere, movesong, playnext, shuffle, songinfo, volume\n> • Updated ship command\n**Notes:**\n> • This will be the final major update to Woomy V1, as we are shifting our focus to Woomy V2, which is a complete rewrite." }