aboutsummaryrefslogtreecommitdiff
path: root/src/commands/fun
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/fun')
-rw-r--r--src/commands/fun/coinflip.ts2
-rw-r--r--src/commands/fun/dice.ts2
-rw-r--r--src/commands/fun/eightBall.ts2
-rw-r--r--src/commands/fun/minesweeper.ts2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/fun/coinflip.ts b/src/commands/fun/coinflip.ts
index 68484bb..e0892b7 100644
--- a/src/commands/fun/coinflip.ts
+++ b/src/commands/fun/coinflip.ts
@@ -14,7 +14,7 @@ export default class CoinFlipCommand extends BushCommand {
});
}
- public async exec(message: BushMessage | BushSlashMessage): Promise<void> {
+ public override async exec(message: BushMessage | BushSlashMessage): Promise<void> {
const random = Math.random();
let result: string;
const fall = message.author.id === '322862723090219008' ? 0.1 : 0.001;
diff --git a/src/commands/fun/dice.ts b/src/commands/fun/dice.ts
index 46b159b..241f1d2 100644
--- a/src/commands/fun/dice.ts
+++ b/src/commands/fun/dice.ts
@@ -15,7 +15,7 @@ export default class EightBallCommand extends BushCommand {
});
}
- public async exec(message: BushMessage | BushSlashMessage): Promise<unknown> {
+ public override async exec(message: BushMessage | BushSlashMessage): Promise<unknown> {
const responses = ['1', '2', '3', '4', '5', '6'];
const answer = responses[Math.floor(Math.random() * responses.length)];
return await message.util.reply(`You rolled a **${answer}**.`);
diff --git a/src/commands/fun/eightBall.ts b/src/commands/fun/eightBall.ts
index 7b7d39c..efaaff5 100644
--- a/src/commands/fun/eightBall.ts
+++ b/src/commands/fun/eightBall.ts
@@ -35,7 +35,7 @@ export default class EightBallCommand extends BushCommand {
});
}
- public async exec(message: BushMessage | BushSlashMessage): Promise<void> {
+ public override async exec(message: BushMessage | BushSlashMessage): Promise<void> {
const responses = [
'It is certain',
'Without a doubt',
diff --git a/src/commands/fun/minesweeper.ts b/src/commands/fun/minesweeper.ts
index 2b46e34..2bec1e9 100644
--- a/src/commands/fun/minesweeper.ts
+++ b/src/commands/fun/minesweeper.ts
@@ -91,7 +91,7 @@ export default class MinesweeperCommand extends BushCommand {
});
}
- public async exec(
+ public override async exec(
message: BushMessage | BushSlashMessage,
{
rows,