mrmBot-Matrix/commands/spam.js

9 lines
No EOL
431 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.includes("@everyone") || message.content.includes("@here")) return "I don't know about you, but that seems like a bad idea.";
return args.join(" ").repeat(500).substring(0, 500);
};
exports.category = 9;
exports.help = "placeholder";
exports.params = "[text]";