mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-14 08:18:44 +00:00
revert: restore tree to 757e41d869f20acbecfee64642514878b18dd528
This commit is contained in:
1 parent
3b28e46069
commit
ffa9729683
31 files changed
+254
-3392
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import {randomInt} from 'node:crypto';
|
||||
import {parseArgs} from 'node:util';
|
||||
import {pickWinnerIndex} from '../src/lib/winner.js';
|
||||
import {parseWheelRequest} from '../src/schemas/wheel-request.js';
|
||||
|
||||
const limits = {
|
||||
@@ -87,7 +87,7 @@ export const parseRenderLocalArgs = (args) => {
|
||||
return {
|
||||
help: false,
|
||||
output: values.output,
|
||||
request: parseWheelRequest(input, limits, pickWinnerIndex),
|
||||
request: parseWheelRequest(input, limits, randomInt),
|
||||
timeoutInMilliseconds,
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user