decord/source/modules/channel/ChannelInfoActionCreators.tsx
2026-07-29 08:29:29 +00:00

22 lines
803 B
TypeScript

// Module ID: 10486
// Function ID: 10487
// Name: fetchChannelInfo
// Dependencies: [4865, 5782, 709, 2]
// Exports: fetchChannelInfo
// Module 10486 (fetchChannelInfo)
import _handleConnectionOpen from "_handleConnectionOpen";
import handleConnectionReset from "handleConnectionReset";
const result = require("dispatcher").fileFinishedImporting("modules/channel/ChannelInfoActionCreators.tsx");
export const fetchChannelInfo = function fetchChannelInfo(guild_id) {
if (!handleConnectionReset.hasRequestedStatuses(guild_id)) {
let obj = importDefault(709);
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"]);
}
};