mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
refactor: merge collections with keeping entries at max (#6242)
This commit is contained in:
@@ -176,7 +176,7 @@ class Client extends BaseClient {
|
||||
|
||||
if (this.options.messageSweepInterval > 0) {
|
||||
process.emitWarning(
|
||||
'The message sweeping client options are deprecated, use the makeCache option with a SweptCollection instead.',
|
||||
'The message sweeping client options are deprecated, use the makeCache option with LimitedCollection instead.',
|
||||
'DeprecationWarning',
|
||||
);
|
||||
this.sweepMessageInterval = setInterval(
|
||||
|
||||
Reference in New Issue
Block a user