now discord is forcing to use slash commands, so we decided to make our handler support slash commands!
Example
module.exports= { name:'say', description:'Shows latency ping!', options: [{ name:'input', type:'STRING', description:'The input to echo back', required:true, }],run:async({ interaction, client, args, reply, editReply }) => {let r =awaitreply({ content:"hi"+interaction.member }) //interaction will be slash interaction when user uses slash command but if users uses normal then interaction will me message!awaiteditReply(r, { content:"hello"}) }}