Skip to content

Commit

Permalink
Update start.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xditya authored Dec 9, 2020
1 parent a284c12 commit aa952d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion telebot/plugins/mybot/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from telethon import events
from telebot.telebotConfig import Var, Config
from telegraph import Telegraph, upload_file
from telebot import CUSTOM_PMPERMIT

##################--CONSTANTS--##################
LOAD_MYBOT = Var.LOAD_MYBOT
Expand Down Expand Up @@ -497,7 +498,7 @@ async def alv(event):
async def a_txt(event):
if event.sender_id == OWNER_ID:
await event.delete()
old_alv=Var.CUSTOM_PMPERMIT if Var.CUSTOM_PMPERMIT else "Default PMSecurity message"
old_alv= CUSTOM_PMPERMIT if CUSTOM_PMPERMIT else "Default PMSecurity message"
telebot="CUSTOM_ALIVE"
if Var.HEROKU_APP_NAME is not None:
app=Heroku.app(Var.HEROKU_APP_NAME)
Expand Down

0 comments on commit aa952d6

Please sign in to comment.