Skip to content

Commit db1037b

Browse files
committed
2 parents 6643a7b + b9a5fe8 commit db1037b

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

types/modules/command-manager.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type RestrictionData = {
3030
export type SubCommand = BasicCommandDefinition & {
3131
arg: string;
3232
usage: string;
33+
minArgs?: number;
3334
regex?: boolean;
3435
fallback?: boolean;
3536
};

types/modules/game-manager.d.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,12 @@ export type FirebotGame = {
9191
};
9292

9393
export type GameManager = {
94-
/**
95-
* Registers a game in the Firebot system.
96-
*
97-
* Does not register the game if its `id` already exists in the Firebot system.
98-
* @param game that should be registered.
99-
*/
100-
registerGame: (game: FirebotGame) => void;
94+
/**
95+
* Registers a game in the Firebot system.
96+
*
97+
* Does not register the game if its `id` already exists in the Firebot system.
98+
* @param game that should be registered.
99+
*/
100+
registerGame: (game: FirebotGame) => void;
101+
getGameSettings: (string) => GameSettings;
101102
};

0 commit comments

Comments
 (0)