mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs: fix regexps incorrectly being called global (#8624)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user