decord/source/modules/channel/ChannelInfoActionCreators.tsx
2026-08-24 06:08:38 +00:00

23 lines
835 B
TypeScript

// Module ID: 10717
// Function ID: 10718
// Name: fetchChannelInfo
// Dependencies: [4499, 5278, 709, 2]
// Exports: fetchChannelInfo
// Module 10717 (fetchChannelInfo)
import dispatcherDefault from "dispatcher" /* 709 */;
import closure_2 from "_handleConnectionOpen" /* 4499 */;
import closure_3 from "handleConnectionReset" /* 5278 */;
const result = require("set").fileFinishedImporting("modules/channel/ChannelInfoActionCreators.tsx");
export const fetchChannelInfo = function fetchChannelInfo(guild_id) {
if (!closure_3.hasRequestedStatuses(guild_id)) {
let obj = dispatcherDefault;
obj = { type: "FETCH_CHANNEL_INFO", guildId: null };
obj[1] = guild_id;
obj.dispatch(obj);
socket = socket.getSocket();
const channelInfo = socket.requestChannelInfo(guild_id, ["status", "voice_start_time"]);
}
};