Files
2022-10-07 14:31:30 +02:00

15 lines
361 B
JavaScript

// const included = require(`../../requires`)
/*
DO NOT FORGET TO ADD EVERY SINGLE EVENT ADDED HERE TO THE REMOVELISTENER ARRAY
*/
client.removeAllListeners("interactionCreate")
client.on("interactionCreate", async (interaction) => {
if(interaction.isCommand()){
commands.get("onSlashCommand").function(interaction)
}
})