Re-run bot command

I'm creating a bot that has multiple steps that a user navigates using buttons. I have a "back" button that I would like to trigger a restart, as if the user had abandoned the current bot session and entered the slash command to run the bot again. Is there a way to do this?

I've tried interaction.client.commands.get('command').execute();

and it fires but it seems that there's no interaction object when it runs. I would like it to create a whole new slash command interaction. Does anyone know how I can achieve this?
Was this page helpful?