Skip to content

Commit

Permalink
fix: container update app (TgCatUB#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisan09 authored May 11, 2023
1 parent f3b92e6 commit f650e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ services:
- DATABASE_URL=postgresql://postgres:postgres@db/catuserbot
depends_on:
- db
volumes:
- botdata:/userbot

db:
image: postgres
Expand Down
5 changes: 3 additions & 2 deletions userbot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ async def externalrepo():
if Config.VCMODE:
data = await install_externalrepo(Config.VC_REPO, Config.VC_REPOBRANCH, "catvc")
string += f"<b>➜ Repo: </b><a href='{data[0]}'><b>{data[1]}</b></a>\n<b> • Imported Plugins:</b> <code>{data[2]}</code>\n<b> • Failed to Import:</b> <code>{', '.join(data[3])}</code>\n\n"
await catub.tgbot.send_message(BOTLOG_CHATID, string, parse_mode="html")

if "Imported Plugins" in string:
await catub.tgbot.send_message(BOTLOG_CHATID, string, parse_mode="html")


catub.loop.run_until_complete(startup_process())

Expand Down

0 comments on commit f650e82

Please sign in to comment.