decord/source/modules/dice_roll/DiceRollActionCreators.tsx

18 lines
536 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 7250
// Function ID: 7251
2026-07-20 16:05:17 +00:00
// Name: startDiceRoll
2026-07-29 08:29:29 +00:00
// Dependencies: [709, 2]
2026-07-20 16:05:17 +00:00
// Exports: startDiceRoll
2026-08-24 06:08:38 +00:00
// Module 7250 (startDiceRoll)
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 709 */;
const result = set.fileFinishedImporting("modules/dice_roll/DiceRollActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const startDiceRoll = function startDiceRoll(channelId, diceCount, diceSides) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-20 16:05:17 +00:00
obj = { type: "DICE_ROLL_START", channelId, diceCount, diceSides };
obj.dispatch(obj);
};