decord/alpha/source/modules/channel/ChannelInfoActionCreators.tsx

24 lines
922 B
TypeScript
Raw Permalink Normal View History

2026-10-10 08:08:14 +00:00
// Module ID: 10670
// Function ID: 10671
// Name: ChannelInfoActionCreators
2026-10-12 06:59:38 +00:00
// Dependencies: [5757, 7252, 584, 2]
2026-07-20 16:05:17 +00:00
// Exports: fetchChannelInfo
2026-10-10 08:08:14 +00:00
// Module 10670 (ChannelInfoActionCreators)
2026-10-03 08:58:59 +00:00
import DispatcherDefault from "Dispatcher" /* 584 */;
2026-10-10 08:08:14 +00:00
import GatewayConnectionStore from "GatewayConnectionStore" /* 5757 */;
2026-10-12 06:59:38 +00:00
import ChannelStatusStore from "ChannelStatusStore" /* 7252 */;
2026-10-03 08:58:59 +00:00
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const result = size.fileFinishedImporting("modules/channel/ChannelInfoActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const fetchChannelInfo = function fetchChannelInfo(guild_id) {
if (!ChannelStatusStore.hasRequestedStatuses(guild_id)) {
const obj2 = { type: "FETCH_CHANNEL_INFO", guildId: guild_id };
2026-10-03 08:58:59 +00:00
const obj = DispatcherDefault;
obj.dispatch(obj2);
const socket = GatewayConnectionStore.getSocket();
2026-07-23 10:11:24 +00:00
const channelInfo = socket.requestChannelInfo(guild_id, ["status", "voice_start_time"]);
2026-07-20 16:05:17 +00:00
}
};