Fix errors
parent
000fc22f32
commit
717f4b0788
|
@ -24,7 +24,7 @@ async def _(event):
|
|||
global PRIVATE_GROUP_BOT_API_ID
|
||||
if not PRIVATE_GROUP_BOT_API_ID:
|
||||
await event.edit("This functionality will not work")
|
||||
return false
|
||||
return
|
||||
PRIVATE_GROUP_BOT_API_ID = int(PRIVATE_GROUP_BOT_API_ID)
|
||||
global COUNT_MSG
|
||||
global USERS
|
||||
|
@ -62,7 +62,7 @@ async def _(event):
|
|||
global PRIVATE_GROUP_BOT_API_ID
|
||||
if not PRIVATE_GROUP_BOT_API_ID:
|
||||
await event.edit("This functionality will not work")
|
||||
return false
|
||||
return
|
||||
PRIVATE_GROUP_BOT_API_ID = int(PRIVATE_GROUP_BOT_API_ID)
|
||||
if event.fwd_from:
|
||||
return
|
||||
|
@ -80,7 +80,7 @@ async def _(event):
|
|||
global PRIVATE_GROUP_BOT_API_ID
|
||||
if not PRIVATE_GROUP_BOT_API_ID:
|
||||
await event.edit("This functionality will not work")
|
||||
return false
|
||||
return
|
||||
PRIVATE_GROUP_BOT_API_ID = int(PRIVATE_GROUP_BOT_API_ID)
|
||||
global ISAFK
|
||||
global COUNT_MSG
|
||||
|
|
|
@ -10,7 +10,7 @@ from hachoir.metadata import extractMetadata
|
|||
from hachoir.parser import createParser
|
||||
from telethon.tl.types import DocumentAttributeVideo
|
||||
|
||||
current_date_time = "./DOWNLOADS/"
|
||||
current_date_time = "./../DOWNLOADS/"
|
||||
|
||||
|
||||
@borg.on(events.NewMessage(pattern=r".download (.*)", outgoing=True))
|
||||
|
|
Reference in New Issue