aboutsummaryrefslogblamecommitdiff
blob: 377a6c3a7ded1973a603b72bbcdd8cc47a5a2853 (plain) (tree)
1
2
3
4
5
6
7
8

                                                     


                                    
 

                                                     
# https://docs.python.org/3/library/configparser.html

import configparser
config = configparser.ConfigParser()
config.read("config.ini")

BOT_TOKEN = config["DEFAULT"]["BOT_TOKEN"]
FSQ_API_KEY = config["DEFAULT"]["FOURSQUARE_API_KEY"]
Powered by cgit v1.2.3 (git 2.41.0)