From 09f9593a5ca8b5180d8227dd59e94cc241962313 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Mon, 29 Apr 2024 10:30:39 +0200 Subject: [PATCH] better typing --- commands/custom_vc/slash.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/custom_vc/slash.js b/commands/custom_vc/slash.js index 3d654a1..ba653ef 100644 --- a/commands/custom_vc/slash.js +++ b/commands/custom_vc/slash.js @@ -1,5 +1,6 @@ import { ChannelType, + GuildChannel, PermissionFlagsBits, SlashCommandBuilder, ChatInputCommandInteraction @@ -90,6 +91,7 @@ export async function execute(interaction) { } case 'register': { // Get channel id from user input + /** @type {GuildChannel} */ const { id } = options.getChannel('channel'); step = 'save';