23 lines
835 B
TypeScript
23 lines
835 B
TypeScript
// Module ID: 10525
|
|
// Function ID: 10526
|
|
// Name: fetchChannelInfo
|
|
// Dependencies: [5102, 7135, 709, 2]
|
|
// Exports: fetchChannelInfo
|
|
|
|
// Module 10525 (fetchChannelInfo)
|
|
import dispatcherDefault from "dispatcher" /* 709 */;
|
|
import closure_2 from "_handleConnectionOpen" /* 5102 */;
|
|
import closure_3 from "handleConnectionReset" /* 7135 */;
|
|
|
|
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"]);
|
|
}
|
|
};
|