chore: upgrade ts-results-es (#322)

This commit is contained in:
Jacob Nguyen
2023-08-13 10:55:39 -05:00
committed by GitHub
parent b1c82448bd
commit 4b97d86908
9 changed files with 48 additions and 34 deletions

View File

@@ -18,7 +18,7 @@ function createRandomCommandModules() {
CommandType.Button,
];
return commandModule({
type: randomCommandType[Math.floor(Math.random() * randomCommandType.length)],
type: faker.helpers.uniqueArray(randomCommandType, 1)[0],
description: faker.string.alpha(),
name: faker.string.alpha(),
execute: () => {},