This code snippet takes the token of your bot and returns the value of his Chat ID.
requests module is needed and not pre-installed so make sure you download it using the latest pip version with:
pip install requests
After downloading the "requests" module replace BOT_TOKEN in line 4 with your bot token then navigate from cmd in the script directory and run the script to grab the Chat ID with:
python chatid_grabber.py