Added @params to textinputbox events for easier development

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-11-15 16:56:39 +01:00
parent bcf8238d33
commit c516c738a4
2 changed files with 4 additions and 1 deletions

View File

@@ -10,6 +10,8 @@ module.exports = {
description: 'Deny reason box.',
type: 'modal',
/** @param {import('discord.js').ModalSubmitInteraction} interaction */
async execute(interaction) {
if (interaction.type !== InteractionType.ModalSubmit) return;