Skip to content

Commit a330fdb

Browse files
committed
Revert "Updater: Add botlog when your bot success update"
This reverts commit 533abc0.
1 parent 533abc0 commit a330fdb

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

userbot/modules/updater.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from git import Repo
1616
from git.exc import GitCommandError, InvalidGitRepositoryError, NoSuchPathError
1717

18-
from userbot import (BOTLOG, BOTLOG_CHATID, CMD_HELP, HEROKU_API_KEY, HEROKU_APP_NAME, UPSTREAM_REPO_URL, UPSTREAM_REPO_BRANCH)
18+
from userbot import (CMD_HELP, HEROKU_API_KEY, HEROKU_APP_NAME, UPSTREAM_REPO_URL, UPSTREAM_REPO_BRANCH)
1919
from userbot.events import register
2020

2121
requirements_path = path.join(
@@ -84,12 +84,6 @@ async def deploy(event, repo, ups_rem, ac_br, txt):
8484
return repo.__del__()
8585
await event.edit('`Successfully Updated!\n'
8686
'Restarting, please wait...`')
87-
88-
if BOTLOG:
89-
await event.client.send_message(
90-
BOTLOG_CHATID, "#UPDATE \n"
91-
"Your One4uBot was successfully updated")
92-
9387
else:
9488
await event.edit('`[HEROKU]:'
9589
'\nPlease set up` **HEROKU_API_KEY** `variable.`'

0 commit comments

Comments
 (0)