Skip to content

Commit

Permalink
actions: run on commit, pull, fork, release
Browse files Browse the repository at this point in the history
  • Loading branch information
Itz-fork committed Dec 26, 2023
1 parent 92ceef8 commit c8641df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Notify on Telegram
on: [push]
on: [push, fork, pull_request, release]
jobs:
notify:
runs-on: ubuntu-latest
Expand All @@ -8,4 +8,4 @@ jobs:
uses: Itz-fork/github-telegram-notify@main
with:
bot_token: '${{ secrets.BOT_TOKEN }}'
chat_id: '${{ secrets.CHAT_ID }}'
chat_id: '${{ secrets.CHAT_ID }}'
3 changes: 1 addition & 2 deletions megadl/helpers/mclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
# Project: https://github.com/Itz-fork/Mega.nz-Bot
# Description: Contains code related to custom pyrogram.Client

import functools
import os
import asyncio
import logging
import functools

from typing import Callable
from dotenv import load_dotenv
from asyncio import sleep as xsleep
from pyrogram.types import Message
from pyrogram import Client, errors
Expand Down

0 comments on commit c8641df

Please sign in to comment.