From 8be446644ce17d3c55aa389f177fe506c7177854 Mon Sep 17 00:00:00 2001 From: RedGuy12 <61329810+RedGuy12@users.noreply.github.com> Date: Thu, 15 Sep 2022 11:05:22 -0500 Subject: [PATCH] docs: fix regexps incorrectly being called global Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com> --- packages/discord.js/src/structures/GuildTemplate.js | 2 +- packages/discord.js/src/structures/Invite.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/discord.js/src/structures/GuildTemplate.js b/packages/discord.js/src/structures/GuildTemplate.js index eba00b75b2b5..7f4cad43da58 100644 --- a/packages/discord.js/src/structures/GuildTemplate.js +++ b/packages/discord.js/src/structures/GuildTemplate.js @@ -12,7 +12,7 @@ const Events = require('../util/Events'); */ class GuildTemplate extends Base { /** - * A regular expression that globally matches guild template links. + * A regular expression that matches guild template links. * The `code` group property is present on the `exec()` result of this expression. * @type {RegExp} * @memberof GuildTemplate diff --git a/packages/discord.js/src/structures/Invite.js b/packages/discord.js/src/structures/Invite.js index 68699aba7207..92e4b5d7e236 100644 --- a/packages/discord.js/src/structures/Invite.js +++ b/packages/discord.js/src/structures/Invite.js @@ -13,7 +13,7 @@ const { Error, ErrorCodes } = require('../errors'); */ class Invite extends Base { /** - * A regular expression that globally matches Discord invite links. + * A regular expression that matches Discord invite links. * The `code` group property is present on the `exec()` result of this expression. * @type {RegExp} * @memberof Invite