8 lines
428 B
TypeScript
8 lines
428 B
TypeScript
// Metro module 10781 (f10782).
|
|
import AuthenticationStore from "../../../stores/AuthenticationStore";
|
|
import ChannelStore from "../../../stores/ChannelStore";
|
|
import VoiceStateStore from "../../../stores/VoiceStateStore";
|
|
export default function getCurrentVoiceChannel() {
|
|
return ChannelStore.getChannel(VoiceStateStore.getVoiceStateForSession(AuthenticationStore.getId(), AuthenticationStore.getSessionId())?.channelId);
|
|
};
|