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
1 changed files with 2 additions and 2 deletions

View File

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