mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 20:20:55 +00:00
docs(APIMessage): fix wording on comment (#4717)
This commit is contained in:
parent
b6167d8c3b
commit
05c9e30163
1 changed files with 1 additions and 1 deletions
|
|
@ -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`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue