aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/say.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/say.ts')
-rw-r--r--src/commands/dev/say.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/commands/dev/say.ts b/src/commands/dev/say.ts
index 947f3c2..3a8b2de 100644
--- a/src/commands/dev/say.ts
+++ b/src/commands/dev/say.ts
@@ -1,5 +1,4 @@
-import { AllowedMentions, BushCommand, BushMessage } from '@lib';
-import { AkairoMessage } from 'discord-akairo';
+import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
export default class SayCommand extends BushCommand {
public constructor() {
@@ -35,7 +34,7 @@ export default class SayCommand extends BushCommand {
await message.util.send({ content: args.content, allowedMentions: AllowedMentions.none() }).catch(() => null);
}
- public override async execSlash(message: AkairoMessage, args: { content: string }) {
+ public override async execSlash(message: BushSlashMessage, args: { content: string }) {
if (!client.config.owners.includes(message.author.id)) {
return await message.interaction.reply({
content: `${util.emojis.error} Only my developers can run this command.`,