decord/source/modules/channel/ChannelInfoActionCreators.tsx

24 lines
835 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 10717
// Function ID: 10718
2026-07-20 16:05:17 +00:00
// Name: fetchChannelInfo
2026-08-24 06:08:38 +00:00
// Dependencies: [4499, 5278, 709, 2]
2026-07-20 16:05:17 +00:00
// Exports: fetchChannelInfo
2026-08-24 06:08:38 +00:00
// Module 10717 (fetchChannelInfo)
import dispatcherDefault from "dispatcher" /* 709 */;
import closure_2 from "_handleConnectionOpen" /* 4499 */;
import closure_3 from "handleConnectionReset" /* 5278 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/channel/ChannelInfoActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const fetchChannelInfo = function fetchChannelInfo(guild_id) {
2026-08-24 06:08:38 +00:00
if (!closure_3.hasRequestedStatuses(guild_id)) {
let obj = dispatcherDefault;
2026-07-29 08:29:29 +00:00
obj = { type: "FETCH_CHANNEL_INFO", guildId: null };
obj[1] = guild_id;
2026-07-20 16:05:17 +00:00
obj.dispatch(obj);
2026-07-23 10:11:24 +00:00
socket = socket.getSocket();
const channelInfo = socket.requestChannelInfo(guild_id, ["status", "voice_start_time"]);
2026-07-20 16:05:17 +00:00
}
};