Multipurpose-discord-bot
Multipurpose-discord-bot copied to clipboard
Fixed restartbot and stopbot cmds & added a "pm2process" Variable to the config
trafficstars
Dont mind the first 2 commits, This was my first time making a fork
This might be a bit pointless I know that more than half use Replit, and pm2 does not work well there + they don't use pm2 to run this
There should be a better way implemented to "restart" and "stop" the bot
Well alright then, Ill see if I can make it work on Replit aswell
Well alright then, Ill see if I can make it work on Replit aswell
I didn't mean specifically pm2.
You can introduce better ways to restart and stop the bot, as these methods were used to stop and restart the SHOP BOTS.
Example:
Stopbot
await message.reply("Shutting down the bot!");
client.destroy();