We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f25b530 commit ceaea24Copy full SHA for ceaea24
src/modules/voiceOnDemand/voiceOnDemand.module.ts
@@ -64,7 +64,7 @@ export const voiceOnDemand: BotModule = {
64
const onDemandChannels = await cache.get('onDemandChannels', []);
65
66
const isLobbyChannel = lobbyIds.includes(newState.channelId ?? '');
67
- const isOnDemandChannel = onDemandChannels.includes(newState.channelId ?? '');
+ const isOnDemandChannel = onDemandChannels.includes(oldState.channelId ?? '');
68
69
if (!isOnDemandChannel && !isLobbyChannel) {
70
return;
0 commit comments