decord/source/modules/rpc/helpers/getCurrentVoiceChannel.tsx
2026-07-21 22:01:30 +00:00

21 lines
745 B
TypeScript

// Module ID: 5763
// Function ID: 49377
// Name: getCurrentVoiceChannel
// Dependencies: []
// Exports: default
// Module 5763 (getCurrentVoiceChannel)
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);
};