say command can no longer mention roles

This commit is contained in:
Emily 2020-07-30 19:04:54 +10:00
parent ce10038a95
commit 808659246e

View file

@ -4,7 +4,7 @@ exports.run = (client, message, args, level) => {
`<:error:466995152976871434> No message provided. Usage: \`${client.commands.get(`echo`).help.usage}\`` `<:error:466995152976871434> No message provided. Usage: \`${client.commands.get(`echo`).help.usage}\``
); );
}; };
if (message.content.includes("@everyone") || message.content.includes("@here")) { if (message.content.includes("@everyone") || message.content.includes("@here") || message.content.includes("<@&")) {
return message.channel.send('>:('); return message.channel.send('>:(');
}; };