The Bot for @vollmond@fnordon.de #5

Merged
dentaku merged 17 commits from beta-bot into main 2024-11-17 15:26:19 +00:00
Showing only changes of commit c4c9b226ac - Show all commits

View file

@ -1,3 +1,4 @@
import os
import moon
from mastodon import Mastodon
from pytz import timezone
@ -5,9 +6,8 @@ from datetime import datetime
# Set up Mastodon
mastodon = Mastodon(
access_token = 'testtoken.secret',
# api_base_url = 'https://fnordon.de/'
api_base_url = 'https://mastodon.wazongtest.de/'
access_token = 'token.secret',
api_base_url = os.getenv('MASTODON_URL', 'https://mastodon.wazongtest.de/')
)
tz = timezone('Europe/Berlin')