aboutsummaryrefslogtreecommitdiff
path: root/src/commands/fun/minesweeper.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/fun/minesweeper.ts')
-rw-r--r--src/commands/fun/minesweeper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/fun/minesweeper.ts b/src/commands/fun/minesweeper.ts
index b45dcda..c9b0a8c 100644
--- a/src/commands/fun/minesweeper.ts
+++ b/src/commands/fun/minesweeper.ts
@@ -8,7 +8,7 @@ export default class MinesweeperCommand extends BushCommand {
category: 'fun',
description: {
content: 'minesweeper command.',
- usage: 'minesweeper <rows> <columns> <mines> [--spaces] [--revealFirstCell]',
+ usage: ['minesweeper <rows> <columns> <mines> [--spaces] [--revealFirstCell]'],
examples: ['minesweeper 10 10 2']
},
args: [
@@ -66,7 +66,7 @@ export default class MinesweeperCommand extends BushCommand {
public override async exec(
message: BushMessage | BushSlashMessage,
args: { rows: number; columns: number; mines: number; spaces: boolean; reveal_first_cell: boolean }
- ): Promise<unknown> {
+ ) {
const minesweeper = new Minesweeper({
rows: args.rows ?? 9,
columns: args.columns ?? 9,