1
0
複製 0
镜像来自 https://gitlab.com/oloturia/fumcaso.git 已同步 2024-11-16 16:40:38 +01:00
fumcaso/register_app.py
2022-04-30 00:54:16 +02:00

15 line
234 B
Python
Executable file

#!/usr/bin/env python3
from mastodon import Mastodon
'''
you need to register the app only once
'''
Mastodon.create_app(
"oloturia_listener",
api_base_url = "https://botsin.space",
to_file = "secret"
)
print("App registered!")