diff options
Diffstat (limited to 'src/commands/fun')
-rw-r--r-- | src/commands/fun/minesweeper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/fun/minesweeper.ts b/src/commands/fun/minesweeper.ts index 2bec1e9..57909a2 100644 --- a/src/commands/fun/minesweeper.ts +++ b/src/commands/fun/minesweeper.ts @@ -118,6 +118,6 @@ export default class MinesweeperCommand extends BushCommand { returnType: 'emoji' }); const matrix = minesweeper.start(); - return await message.util.reply(matrix.toString()); + return await message.util.reply(matrix?.toString() ?? `${util.emojis.error} Something went wrong.`); } } |