From 05c9e301639848121dda27ab1f8a643f465be502 Mon Sep 17 00:00:00 2001 From: Carter <45381083+Fyko@users.noreply.github.com> Date: Mon, 17 Aug 2020 01:56:18 -0600 Subject: [PATCH] docs(APIMessage): fix wording on comment (#4717) --- src/structures/APIMessage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/APIMessage.js b/src/structures/APIMessage.js index 673db0390..3451bdb9b 100644 --- a/src/structures/APIMessage.js +++ b/src/structures/APIMessage.js @@ -185,7 +185,7 @@ class APIMessage { if (this.options.reply) { const id = this.target.client.users.resolveID(this.options.reply); 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); const parsed = allowedMentions.parse && allowedMentions.parse.includes('users'); // Check if the mention won't be parsed, and isn't supplied in `users`