mirror of
https://gitlab.com/oloturia/fumcaso.git
synced 2025-01-06 21:47:17 +01:00
mastodon replier setup
This commit is contained in:
parent
f5c972cef0
commit
157c6387c1
2 changed files with 18 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"defaultProfile": "oloturia",
|
||||
"defaultMastodonToken": "./mastodon_token",
|
||||
"defaultTelegramToken": "./telegram_token",
|
||||
"defaultTwitterToken": "./twitter_token",
|
||||
|
||||
"oloturia": {
|
||||
"saveLocation": "/var/tmp",
|
||||
|
|
15
mastodon_replier.py
Normal file
15
mastodon_replier.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from randstrip import createStrip,readConfig
|
||||
from mastodon import Mastodon
|
||||
import os
|
||||
import sys
|
||||
|
||||
fileDir = os.path.dirname(os.path.abspath(__file__))
|
||||
fileDir = fileDir + "/"
|
||||
API_URL = "https://botsin.space"
|
||||
|
||||
if __name__ == "__main__":
|
||||
config = readConfig
|
||||
|
||||
|
Loading…
Reference in a new issue