1
0
Fork 0
mirror of https://gitlab.com/oloturia/fumcaso.git synced 2024-11-16 16:40:38 +01:00
fumcaso/register_app.py
2022-04-30 00:54:16 +02:00

15 lines
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!")