Slightly more secure version of the bot.