Skip to content

Commit

Permalink
PYErrors fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1maker committed Aug 12, 2024
1 parent d76c7b8 commit 2bc4fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Telegram Notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Send Telegram Notification
run: |
python -c "import asyncio;from telegram import Bot;async def send_message(): bot = Bot(token='${{ secrets.TELEGRAM_BOT_TOKEN }}'); chat_id = '${{ secrets.TELEGRAM_CHANNEL_ID }}'; commit_link = '${{ github.event.head_commit.url }}'; await bot.send_message(chat_id=chat_id, text=f'New commit! {commit_link}');asyncio.run(send_message())"
python -c "import asyncio; from telegram import Bot; async def send_message(): bot = Bot(token='${{ secrets.TELEGRAM_BOT_TOKEN }}'); chat_id = '${{ secrets.TELEGRAM_CHANNEL_ID }}'; commit_link = '${{ github.event.head_commit.url }}'; await bot.send_message(chat_id=chat_id, text=f'New commit! {commit_link}'); asyncio.run(send_message())"

0 comments on commit 2bc4fb6

Please sign in to comment.