14 lines
482 B
TypeScript
14 lines
482 B
TypeScript
// Metro module 10486 (f10487).
|
|
import GatewayConnectionStore from "../gateway/GatewayConnectionStore";
|
|
import ChannelStatusStore from "./ChannelStatusStore";
|
|
import Dispatcher from "../../Dispatcher";
|
|
export function fetchChannelInfo(a0) {
|
|
if (!ChannelStatusStore.hasRequestedStatuses(a0)) {
|
|
Dispatcher.dispatch({
|
|
type: "FETCH_CHANNEL_INFO",
|
|
guildId: a0
|
|
});
|
|
GatewayConnectionStore.getSocket().requestChannelInfo(a0, ["status", "voice_start_time"]);
|
|
}
|
|
}
|