mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +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 {
|
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.
|
* The `code` group property is present on the `exec()` result of this expression.
|
||||||
* @type {RegExp}
|
* @type {RegExp}
|
||||||
* @memberof GuildTemplate
|
* @memberof GuildTemplate
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ const { Error, ErrorCodes } = require('../errors');
|
|||||||
*/
|
*/
|
||||||
class Invite extends Base {
|
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.
|
* The `code` group property is present on the `exec()` result of this expression.
|
||||||
* @type {RegExp}
|
* @type {RegExp}
|
||||||
* @memberof Invite
|
* @memberof Invite
|
||||||
|
|||||||
Reference in New Issue
Block a user