1
0
Fork 0

Fix logging for telegram chat id
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Daniele Tricoli 2022-03-08 02:56:08 +01:00
parent c7dc59ebc7
commit 8f3c97a532
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ the specified Mastodon account.`,
log.Println("Crating a new client for mastondon istance:", mastodon_instance)
max_characters := parseMastodonMaxCharacters(os.Getenv(MASTODON_TOOT_MAX_CHARACTERS))
allowed_telegram_chat := parseTelegramChatID(os.Getenv(TELEGRAM_CHAT_ID))
log.Println("Allowed telegram chat:", mastodon_instance)
log.Println("Allowed telegram chat id:", allowed_telegram_chat)
bot, err := tgbotapi.NewBotAPI(os.Getenv(TELEGRAM_BOT_TOKEN))
if err != nil {