Prevent the bot process from running if it already exists, otherwise it may lead to various concurrency errors. This should be checked both:
1) on OS side in startup script (using bash/pm2)
2) on discord side after the bot has already started (by token) - this is to verify there's no other PC where the bot runs under the same token.
Prevent the bot process from running if it already exists, otherwise it may lead to various concurrency errors. This should be checked both: 1) on OS side in startup script (using bash/pm2) 2) on discord side after the bot has already started (by token) - this is to verify there's no other PC where the bot runs under the same token.