forked from KayFaraday/pleroma-ebooks
i'm such a dunce, fixed bot replies
This commit is contained in:
parent
a3fb1ba111
commit
778b968189
4
reply.py
4
reply.py
|
@ -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'])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue