-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
When sending multiple messages using the message split option other options like allowedMentions are only added to the very last message send. This might result in uncontrolled role mentions or other issues.
var options = {
split: { maxLength: 20 },
allowedMentions: { parse: [] }
}
msg.channel.send( '<@12345>', options )
// '@mention' no notification
msg.channel.send( '<@12345>\n<@12345>\n<@12345>', options )
// '@mention' notification
// '@mention' notification
// '@mention' no notificationFurther details:
- discord.js version: 12.2.0
- Node.js version: v12.13.0
- Operating system: Windows 10
- Priority this issue should have: medium, as it might result in uncontrolled role mentions.
- I have also tested the issue on latest master, commit hash:
Metadata
Metadata
Assignees
Labels
No labels