2026-07-30 10:14:41 +00:00
|
|
|
// Module ID: 10482
|
|
|
|
|
// Function ID: 10483
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: fetchChannelInfo
|
2026-07-29 08:29:29 +00:00
|
|
|
// Dependencies: [4865, 5782, 709, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: fetchChannelInfo
|
|
|
|
|
|
2026-07-30 10:14:41 +00:00
|
|
|
// Module 10482 (fetchChannelInfo)
|
2026-07-29 08:29:29 +00:00
|
|
|
import _handleConnectionOpen from "_handleConnectionOpen";
|
|
|
|
|
import handleConnectionReset from "handleConnectionReset";
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const result = require("dispatcher").fileFinishedImporting("modules/channel/ChannelInfoActionCreators.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const fetchChannelInfo = function fetchChannelInfo(guild_id) {
|
2026-07-29 08:29:29 +00:00
|
|
|
if (!handleConnectionReset.hasRequestedStatuses(guild_id)) {
|
|
|
|
|
let obj = importDefault(709);
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
};
|