mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
fix(Managers): fix typo in unsupported warning (#6338)
This commit is contained in:
@@ -21,7 +21,7 @@ class ChannelManager extends CachedManager {
|
|||||||
cacheWarningEmitted = true;
|
cacheWarningEmitted = true;
|
||||||
process.emitWarning(
|
process.emitWarning(
|
||||||
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
|
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
|
||||||
'UnuspportedCacheOverwriteWarning',
|
'UnsupportedCacheOverwriteWarning',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class GuildChannelManager extends CachedManager {
|
|||||||
cacheWarningEmitted = true;
|
cacheWarningEmitted = true;
|
||||||
process.emitWarning(
|
process.emitWarning(
|
||||||
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
|
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
|
||||||
'UnuspportedCacheOverwriteWarning',
|
'UnsupportedCacheOverwriteWarning',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ class GuildManager extends CachedManager {
|
|||||||
cacheWarningEmitted = true;
|
cacheWarningEmitted = true;
|
||||||
process.emitWarning(
|
process.emitWarning(
|
||||||
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
|
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
|
||||||
'UnuspportedCacheOverwriteWarning',
|
'UnsupportedCacheOverwriteWarning',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ class PermissionOverwriteManager extends CachedManager {
|
|||||||
cacheWarningEmitted = true;
|
cacheWarningEmitted = true;
|
||||||
process.emitWarning(
|
process.emitWarning(
|
||||||
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
|
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
|
||||||
'UnuspportedCacheOverwriteWarning',
|
'UnsupportedCacheOverwriteWarning',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ class RoleManager extends CachedManager {
|
|||||||
cacheWarningEmitted = true;
|
cacheWarningEmitted = true;
|
||||||
process.emitWarning(
|
process.emitWarning(
|
||||||
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
|
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
|
||||||
'UnuspportedCacheOverwriteWarning',
|
'UnsupportedCacheOverwriteWarning',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user