client.on('interactionCreate', async interaction => {
if (!interaction.isCommand()) return;
if (interaction.commandName === 'command-name') {
await interaction.reply('Reply To Command');
}
});
client.on('interactionCreate', async interaction => {
if (!interaction.isCommand()) return;
if (interaction.commandName === 'command-name') {
await interaction.reply('Reply To Command');
}
});