decord/source/modules/emojis/top_emojis/TopEmojisDataManager.tsx
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

31 lines
1.2 KiB
TypeScript

// Module ID: 17458
// Function ID: 17459
// Name: TopEmojisDataManager
// Dependencies: [4458, 1374, 7221, 10406, 2]
// Module 17458 (TopEmojisDataManager)
import TopEmojisUtils from "TopEmojisUtils" /* 10406 */;
import SelectedGuildStore from "SelectedGuildStore" /* 4458 */;
import AutomaticLifecycleManager from "AutomaticLifecycleManager" /* 7221 */;
require = fn;
const EmojiInteractionPoint = fn(1374).EmojiInteractionPoint;
class TopEmojisDataManager extends tmp2 {
constructor() {
applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
applyArgumentsResult.actions = { EMOJI_INTERACTION_INITIATED: applyArgumentsResult.handleInteraction };
return applyArgumentsResult;
}
}
TopEmojisDataManager.prototype["handleInteraction"] = function handleInteraction(interaction) {
const items = [EmojiInteractionPoint.EmojiButtonMouseEntered];
if (items.includes(interaction.interaction)) {
const guildId = SelectedGuildStore.getGuildId();
const result = TopEmojisUtils.maybeFetchTopEmojisByGuild(guildId);
}
};
const topEmojisDataManager = new TopEmojisDataManager();
const size = fn(2);
let result = size.fileFinishedImporting("modules/emojis/top_emojis/TopEmojisDataManager.tsx");
export default topEmojisDataManager;