aboutsummaryrefslogtreecommitdiff
path: root/src/commands/queue.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/queue.ts')
-rw-r--r--src/commands/queue.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/queue.ts b/src/commands/queue.ts
index 4d75d42..9115ee6 100644
--- a/src/commands/queue.ts
+++ b/src/commands/queue.ts
@@ -1,4 +1,4 @@
-import {CommandInteraction} from 'discord.js';
+import {ChatInputCommandInteraction} from 'discord.js';
import {SlashCommandBuilder} from '@discordjs/builders';
import {inject, injectable} from 'inversify';
import {TYPES} from '../types.js';
@@ -22,7 +22,7 @@ export default class implements Command {
this.playerManager = playerManager;
}
- public async execute(interaction: CommandInteraction) {
+ public async execute(interaction: ChatInputCommandInteraction) {
const player = this.playerManager.get(interaction.guild!.id);
const embed = buildQueueEmbed(player, interaction.options.getInteger('page') ?? 1);