I’m trying to make a Discord bot, I would like a way to reload commands or the client through the console white my application is running.
EG: When you type commands into a servers console or something similar to like that. Or I can type ‘reload’ and it will reload the client.
I could try doing something with readline https://www.npmjs.com/package/readline, but I’m mostly wondering what is the best way to achieve this.
Thanks in advance,
Luke.