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:
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()
@ -333,11 +333,11 @@ class UpdaterMod(loader.Module):
)
if dialog.name
in {
"hikka-logs",
"hikka-onload",
"hikka-assets",
"hikka-backups",
"hikka-acc-switcher",
"heroku-logs",
"heroku-onload",
"heroku-assets",
"heroku-backups",
"heroku-acc-switcher",
"silent-tags",
}
and dialog.is_channel
@ -374,7 +374,7 @@ class UpdaterMod(loader.Module):
)
except Exception:
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 got floodwait\n"
"Ignoring error and adding folder addition to ignore list"