i'm such a dunce, fixed bot replies

This commit is contained in:
Lynne 2018-10-26 11:21:51 +10:00
parent a3fb1ba111
commit 778b968189
No known key found for this signature in database
GPG key ID: FB7B970303ACE499

View file

@ -10,9 +10,9 @@ from bs4 import BeautifulSoup
cfg = json.load(open('config.json', 'r')) cfg = json.load(open('config.json', 'r'))
api_base_url = "https://knzk.me"
client = mastodon.Mastodon( client = mastodon.Mastodon(
client_id="clientcred.secret", client_id=cfg['client']['id'],
client_secret=cfg['client']['secret'],
access_token="usercred.secret", access_token="usercred.secret",
api_base_url=cfg['site']) api_base_url=cfg['site'])