mrmBot-Matrix/commands/spam.js
2019-09-13 15:02:41 -05:00

5 lines
No EOL
359 B
JavaScript

exports.run = async (message, args) => {
if (args.length === 0) return `${message.author.mention}, you need to provide what you want to spam!`;
if (message.content.indexOf("@everyone") > -1 || message.content.indexOf("@here") > -1) return "I don't know about you, but that seems like a bad idea.";
return args.join(" ").repeat(500).substring(0, 500);
};