1
0
Fork 0
mirror of https://gitlab.com/oloturia/buonanotte.git synced 2024-11-01 01:38:19 +01:00
buonanotte/register_app.py
2020-03-20 17:48:07 +01:00

15 lines
226 B
Python

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