Update updater.py

pull/56/head
Who? 2024-12-30 23:52:26 +07:00 committed by GitHub
parent b7ed42ca4f
commit 4a02f3bd15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -217,7 +217,7 @@ class UpdaterMod(loader.Module):
except Exception: except Exception:
await self.inline_update(message) await self.inline_update(message)
async def close(self, msg_obj: typing.Union[InlineCall, Message], hard: bool = False,): async def close(self, msg_obj: typing.Union[InlineCall, Message], hard: bool = False, call: InlineCall):
await call.delete() await call.delete()
@ -333,11 +333,11 @@ class UpdaterMod(loader.Module):
) )
if dialog.name if dialog.name
in { in {
"hikka-logs", "heroku-logs",
"hikka-onload", "heroku-onload",
"hikka-assets", "heroku-assets",
"hikka-backups", "heroku-backups",
"hikka-acc-switcher", "heroku-acc-switcher",
"silent-tags", "silent-tags",
} }
and dialog.is_channel and dialog.is_channel
@ -374,7 +374,7 @@ class UpdaterMod(loader.Module):
) )
except Exception: except Exception:
logger.critical( logger.critical(
"Can't create Hikka folder. Possible reasons are:\n" "Can't create Heroku folder. Possible reasons are:\n"
"- User reached the limit of folders in Telegram\n" "- User reached the limit of folders in Telegram\n"
"- User got floodwait\n" "- User got floodwait\n"
"Ignoring error and adding folder addition to ignore list" "Ignoring error and adding folder addition to ignore list"