Files
discord-decomp/modules/channel/ChannelInfoActionCreators.tsx
T
2026-11-01 12:12:55 +02:00

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"]);
}
}