decord/alpha/source/modules/channel/ChannelInfoActionCreators.tsx
github-actions 6eea20b8e1 chore: update source for alpha 348.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-24 10:59:02 +00:00

22 lines
884 B
TypeScript

// Module ID: 11818
// Function ID: 11819
// Name: ChannelInfoActionCreators
// Dependencies: [5582, 7859, 573, 2]
// Exports: fetchChannelInfo
// Module 11818 (ChannelInfoActionCreators)
import DispatcherDefault from "Dispatcher" /* 573 */;
import GatewayConnectionStore from "GatewayConnectionStore" /* 5582 */;
import ChannelStatusStore from "ChannelStatusStore" /* 7859 */;
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"]);
}
};