diff --git a/src/node/index.ts b/src/node/index.ts index 3e66e78..39b80ac 100644 --- a/src/node/index.ts +++ b/src/node/index.ts @@ -295,7 +295,7 @@ export class Node { const IDataCache = await this.manager.redis?.get(RedisKey.NodePlayers(this.name.toLowerCase())); const dataCache = IDataCache ? (JSON.parse(IDataCache) as VoiceChannelOptions[]) : []; - if (dataCache.some(({ guildId }) => guildId !== options.guildId)) { + if (!dataCache.some(({ guildId }) => guildId === options.guildId)) { dataCache.push({ guildId: options.guildId, channelId: options.channelId,