mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
chore: deps
This commit is contained in:
@@ -499,7 +499,7 @@ export class RequestManager extends EventEmitter {
|
||||
|
||||
const baseRoute = endpoint
|
||||
// Strip out all ids
|
||||
.replace(/\d{16,19}/g, ':id')
|
||||
.replaceAll(/\d{16,19}/g, ':id')
|
||||
// Strip out reaction as they fall under the same bucket
|
||||
.replace(/\/reactions\/(.*)/, '/reactions/:reaction');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user