Making the bot secure