modify mention options on ayy->lmao functionality

This commit is contained in:
mrjvs 2022-06-09 14:05:56 +02:00 committed by GitHub
parent b1afe9b958
commit 6930042095
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,10 @@ async function messageCreateHandler(message) {
// Check that the message isn't too long to be sent
if (lmaod.length < 2000) {
await message.reply(lmaod);
await message.reply({
content: lmaod,
allowedMentions: { parse: [] }
});
return;
} else {
await message.reply('Looks like the resulting message is too long :/');
@ -34,4 +37,4 @@ async function messageCreateHandler(message) {
}
}
module.exports = messageCreateHandler;
module.exports = messageCreateHandler;