mirror of
https://github.com/PretendoNetwork/Yamamura.git
synced 2024-05-31 19:17:50 -04:00
modify mention options on ayy->lmao functionality
This commit is contained in:
parent
b1afe9b958
commit
6930042095
|
@ -25,7 +25,10 @@ async function messageCreateHandler(message) {
|
||||||
|
|
||||||
// Check that the message isn't too long to be sent
|
// Check that the message isn't too long to be sent
|
||||||
if (lmaod.length < 2000) {
|
if (lmaod.length < 2000) {
|
||||||
await message.reply(lmaod);
|
await message.reply({
|
||||||
|
content: lmaod,
|
||||||
|
allowedMentions: { parse: [] }
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
await message.reply('Looks like the resulting message is too long :/');
|
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;
|
||||||
|
|
Loading…
Reference in a new issue