aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/hash.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/hash.ts')
-rw-r--r--src/commands/utilities/hash.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/utilities/hash.ts b/src/commands/utilities/hash.ts
index 7cc59f3..f47c388 100644
--- a/src/commands/utilities/hash.ts
+++ b/src/commands/utilities/hash.ts
@@ -1,4 +1,4 @@
-import { BushCommand, type BushMessage } from '#lib';
+import { BushCommand, type CommandMessage } from '#lib';
import assert from 'assert';
import crypto from 'crypto';
import { ApplicationCommandOptionType } from 'discord.js';
@@ -30,7 +30,7 @@ export default class HashCommand extends BushCommand {
});
}
- public override async exec(message: BushMessage, { url }: { url: string }) {
+ public override async exec(message: CommandMessage, { url }: { url: string }) {
try {
const req = await got.get(url);
const rawHash = crypto.createHash('md5');