17 lines
536 B
TypeScript
17 lines
536 B
TypeScript
// Module ID: 7250
|
|
// Function ID: 7251
|
|
// Name: startDiceRoll
|
|
// Dependencies: [709, 2]
|
|
// Exports: startDiceRoll
|
|
|
|
// Module 7250 (startDiceRoll)
|
|
import set from "set" /* 2 */;
|
|
import dispatcherDefault from "dispatcher" /* 709 */;
|
|
|
|
const result = set.fileFinishedImporting("modules/dice_roll/DiceRollActionCreators.tsx");
|
|
|
|
export const startDiceRoll = function startDiceRoll(channelId, diceCount, diceSides) {
|
|
let obj = dispatcherDefault;
|
|
obj = { type: "DICE_ROLL_START", channelId, diceCount, diceSides };
|
|
obj.dispatch(obj);
|
|
};
|