mrmBot-Matrix/commands/spam.js

9 lines
431 B
JavaScript
Raw Normal View History

2019-09-13 20:02:41 +00:00
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.";
2019-09-13 20:02:41 +00:00
return args.join(" ").repeat(500).substring(0, 500);
};
exports.category = 9;
exports.help = "placeholder";
exports.params = "[text]";