mirror of
https://github.com/ioistired/pleroma-ebooks.git
synced 2025-01-08 17:44:45 +01:00
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'))
|
||||
|
||||
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'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user