decord/source/modules/dice_roll/DiceRollStore.tsx
github-actions a36fe4ec9c chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-14 20:04:03 +00:00

26 lines
778 B
TypeScript

// Module ID: 12089
// Function ID: 12090
// Name: DiceRollStore
// Dependencies: [560, 2]
// Exports: useDiceRollState
// Module 12089 (DiceRollStore)
import module_560 from "module_560" /* 560 */;
import size from "module_2" /* 2 */;
const INITIAL_STATE = { channelId: null, rolling: false, dismissing: false, diceCount: 1, diceSides: 6, results: null };
const obj2 = module_560.create(() => obj);
const result = size.fileFinishedImporting("modules/dice_roll/DiceRollStore.tsx");
export default obj2;
export { INITIAL_STATE };
export const useDiceRollState = function useDiceRollState(channelId) {
closure_0 = channelId;
return obj2((channelId) => {
let tmp = null;
if (channelId.channelId === closure_0) {
tmp = channelId;
}
return tmp;
});
};