decord/source/modules/channel/ChannelInfoActionCreators.tsx
2026-07-31 08:44:05 +00:00

22 lines
803 B
TypeScript

// Module ID: 10499
// Function ID: 10500
// Name: fetchChannelInfo
// Dependencies: [4869, 5787, 709, 2]
// Exports: fetchChannelInfo
// Module 10499 (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"]);
}
};