aboutsummaryrefslogtreecommitdiff
path: root/src/commands/skip.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/skip.ts')
-rw-r--r--src/commands/skip.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/skip.ts b/src/commands/skip.ts
index eb2746a..d8be5d8 100644
--- a/src/commands/skip.ts
+++ b/src/commands/skip.ts
@@ -1,4 +1,4 @@
-import {CommandInteraction} from 'discord.js';
+import {ChatInputCommandInteraction} from 'discord.js';
import {TYPES} from '../types.js';
import {inject, injectable} from 'inversify';
import PlayerManager from '../managers/player.js';
@@ -24,7 +24,7 @@ export default class implements Command {
this.playerManager = playerManager;
}
- public async execute(interaction: CommandInteraction): Promise<void> {
+ public async execute(interaction: ChatInputCommandInteraction): Promise<void> {
const numToSkip = interaction.options.getInteger('number') ?? 1;
if (numToSkip < 1) {