fix: add annotations to command parameters

This commit is contained in:
Marius Begby committed 2023-08-27 02:52:41 +02:00
1 parent b118ebdfb0
commit 179f7ddbfd
19 files changed
+52 -20

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@ import { queueDoesNotExist, queueNoCurrentTrack } from '../../utils/validation/q
import{ SlashCommandBuilder, EmbedBuilder } from 'discord.js';
import { useQueue } from 'discord-player';
import loggerModule from '../../services/logger';
import { CommandParams } from '../../types/commandTypes';
module.exports = {
isNew: false,
@@ -21,7 +22,7 @@ module.exports = {
.setDescription('Duration in format 00:00:00 (HH:mm:ss) to seek to.')
.setRequired(true)
),
execute: async ({ interaction, executionId }) => {
execute: async ({ interaction, executionId }: CommandParams) => {
const logger = loggerModule.child({
source: 'seek.js',
module: 'slashCommand',