export interface CommandOptions { name: string; description: string; type: ApplicationCommandOptionType; required?: boolean; // Where do I put it here ?}
export interface CommandOptions { name: string; description: string; type: ApplicationCommandOptionType; required?: boolean; // Where do I put it here ?}
How and where do i make a method that will return the properties from the interface ?
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
d-Iaa
discord.js - Imagine an app
Support server for discord.js, a Node.js module to interact with Discord's apps API.