Fix errors

pull/16/head
Shrimadhav U K 2018-08-11 05:20:15 +00:00
parent 000fc22f32
commit 717f4b0788
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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))