mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
docs(APIMessage): fix wording on comment (#4717)
This commit is contained in:
@@ -185,7 +185,7 @@ class APIMessage {
|
|||||||
if (this.options.reply) {
|
if (this.options.reply) {
|
||||||
const id = this.target.client.users.resolveID(this.options.reply);
|
const id = this.target.client.users.resolveID(this.options.reply);
|
||||||
if (allowedMentions) {
|
if (allowedMentions) {
|
||||||
// Clone the object as to alter the ClientOptions object
|
// Clone the object as not to alter the ClientOptions object
|
||||||
allowedMentions = Util.cloneObject(allowedMentions);
|
allowedMentions = Util.cloneObject(allowedMentions);
|
||||||
const parsed = allowedMentions.parse && allowedMentions.parse.includes('users');
|
const parsed = allowedMentions.parse && allowedMentions.parse.includes('users');
|
||||||
// Check if the mention won't be parsed, and isn't supplied in `users`
|
// Check if the mention won't be parsed, and isn't supplied in `users`
|
||||||
|
|||||||
Reference in New Issue
Block a user