mirror of https://github.com/coddrago/Heroku
Update updater.py
parent
b7ed42ca4f
commit
4a02f3bd15
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue