fix(Managers): fix typo in unsupported warning (#6338)

This commit is contained in:
ahmood
2021-08-07 22:19:51 +02:00
committed by GitHub
parent 394d48649f
commit 917e71a9ee
5 changed files with 5 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ class ChannelManager extends CachedManager {
cacheWarningEmitted = true;
process.emitWarning(
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
'UnuspportedCacheOverwriteWarning',
'UnsupportedCacheOverwriteWarning',
);
}
}

View File

@@ -26,7 +26,7 @@ class GuildChannelManager extends CachedManager {
cacheWarningEmitted = true;
process.emitWarning(
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
'UnuspportedCacheOverwriteWarning',
'UnsupportedCacheOverwriteWarning',
);
}

View File

@@ -34,7 +34,7 @@ class GuildManager extends CachedManager {
cacheWarningEmitted = true;
process.emitWarning(
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
'UnuspportedCacheOverwriteWarning',
'UnsupportedCacheOverwriteWarning',
);
}
}

View File

@@ -20,7 +20,7 @@ class PermissionOverwriteManager extends CachedManager {
cacheWarningEmitted = true;
process.emitWarning(
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
'UnuspportedCacheOverwriteWarning',
'UnsupportedCacheOverwriteWarning',
);
}

View File

@@ -20,7 +20,7 @@ class RoleManager extends CachedManager {
cacheWarningEmitted = true;
process.emitWarning(
`Overriding the cache handling for ${this.constructor.name} is unsupported and breaks functionality.`,
'UnuspportedCacheOverwriteWarning',
'UnsupportedCacheOverwriteWarning',
);
}