decord/source/modules/rpc/helpers/getCurrentVoiceChannel.tsx

22 lines
745 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 5763
2026-07-21 22:01:30 +00:00
// Function ID: 49377
2026-07-20 16:05:17 +00:00
// Name: getCurrentVoiceChannel
// Dependencies: []
// Exports: default
2026-07-21 06:55:02 +00:00
// Module 5763 (getCurrentVoiceChannel)
2026-07-20 16:05:17 +00:00
let closure_0 = importDefault(dependencyMap[0]);
let closure_1 = importDefault(dependencyMap[1]);
let closure_2 = importDefault(dependencyMap[2]);
const result = arg1(dependencyMap[3]).fileFinishedImporting("modules/rpc/helpers/getCurrentVoiceChannel.tsx");
export default function getCurrentVoiceChannel() {
const id = store.getId();
const voiceStateForSession = voiceStateForSession.getVoiceStateForSession(id, store.getSessionId());
let channelId;
if (null != voiceStateForSession) {
channelId = voiceStateForSession.channelId;
}
return channel.getChannel(channelId);
};