bot can no longer use @here

This commit is contained in:
Emily 2020-05-22 12:16:57 +10:00
parent ebc0b198f0
commit ac5d3dc78c
3 changed files with 4 additions and 4 deletions

View file

@ -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('>:(');
}

View file

@ -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 => {});

View file

@ -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."
}