23 lines
835 B
TypeScript
23 lines
835 B
TypeScript
// Module ID: 11301
|
|
// Function ID: 11302
|
|
// Name: fetchChannelInfo
|
|
// Dependencies: [5230, 7284, 706, 2]
|
|
// Exports: fetchChannelInfo
|
|
|
|
// Module 11301 (fetchChannelInfo)
|
|
import dispatcherDefault from "dispatcher" /* 706 */;
|
|
import closure_2 from "_handleConnectionOpen" /* 5230 */;
|
|
import closure_3 from "handleConnectionReset" /* 7284 */;
|
|
|
|
const result = require("set").fileFinishedImporting("modules/channel/ChannelInfoActionCreators.tsx");
|
|
|
|
export const fetchChannelInfo = function fetchChannelInfo(guild_id) {
|
|
if (!closure_3.hasRequestedStatuses(guild_id)) {
|
|
let obj = dispatcherDefault;
|
|
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"]);
|
|
}
|
|
};
|