By starting it again. One of many ways to keep discord bots running, is through a simple npm package called PM2. https://pm2.keymetrics.io/