diff options
Diffstat (limited to 'src/commands/pause.ts')
| -rw-r--r-- | src/commands/pause.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/pause.ts b/src/commands/pause.ts index 7b9d295..b0381ae 100644 --- a/src/commands/pause.ts +++ b/src/commands/pause.ts @@ -1,4 +1,4 @@ -import {CommandInteraction} from 'discord.js'; +import {ChatInputCommandInteraction} from 'discord.js'; import {SlashCommandBuilder} from '@discordjs/builders'; import {TYPES} from '../types.js'; import {inject, injectable} from 'inversify'; @@ -20,7 +20,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); if (player.status !== STATUS.PLAYING) { |
