The data generated and used by the official bot will never be uploaded anywhere and will never be sold to anyone.
The bot only collects, modify and updates required data.
On the other hand, selfhosted bots may function differently.
First of all, you'll need Node, NPM and Git.
Supported versions by this projects are
Clone the repo
Next thing to do is to download the bot's source code.