aboutsummaryrefslogblamecommitdiff
blob: 3356d1121b053e4d7743658ec8fa9f090da462b2 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                     
                   
 

                                    
 

                                                     




                                                    

                       
# 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"]

TOOT_API_BASE_URL = config["TOOT"]["API_BASE_URL"]
TOOT_CLIENT_ID = config["TOOT"]["CLIENT_ID"]
TOOT_CLIENT_SECRET = config["TOOT"]["CLIENT_SECRET"]
TOOT_ACCESS_TOKEN = config["TOOT"]["ACCESS_TOKEN"]

MEDIA_GROUP_TIMEOUT = 3
Powered by cgit v1.2.3 (git 2.41.0)