decord/beta/source/modules/channel/ChannelInfoActionCreators.tsx
github-actions 30c0bb2ec3 chore: update source for beta 347.10
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
2026-09-24 16:03:38 +00:00

22 lines
884 B
TypeScript

// Module ID: 11637
// Function ID: 11638
// Name: ChannelInfoActionCreators
// Dependencies: [5528, 7808, 577, 2]
// Exports: fetchChannelInfo
// Module 11637 (ChannelInfoActionCreators)
import DispatcherDefault from "Dispatcher" /* 577 */;
import GatewayConnectionStore from "GatewayConnectionStore" /* 5528 */;
import ChannelStatusStore from "ChannelStatusStore" /* 7808 */;
const size = fn(2);
const result = size.fileFinishedImporting("modules/channel/ChannelInfoActionCreators.tsx");
export const fetchChannelInfo = function fetchChannelInfo(guild_id) {
if (!ChannelStatusStore.hasRequestedStatuses(guild_id)) {
const obj2 = { type: "FETCH_CHANNEL_INFO", guildId: guild_id };
DispatcherDefault.dispatch(obj2);
const socket = GatewayConnectionStore.getSocket();
const channelInfo = socket.requestChannelInfo(guild_id, ["status", "voice_start_time"]);
}
};