- Add `-f` param to `.restart` and `.update`
pull/1/head
hikariatama 2022-08-21 16:57:09 +00:00
parent 1ba0d34c7e
commit 8534c0cafd
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@
- Add more animated emojis to modules
- Add targeted security for users and chats (`.tsec`)
- Add support for `tg_level` in `.config Tester`
- Add `-f` param to `.restart` and `.update`
## 🌑 Hikka 1.3.3

View File

@ -189,6 +189,7 @@ class UpdaterMod(loader.Module):
try:
if (
"--force" in (utils.get_args_raw(message) or "")
or "-f" in (utils.get_args_raw(message) or "")
or not self.inline.init_complete
or not await self.inline.form(
message=message,
@ -339,6 +340,7 @@ class UpdaterMod(loader.Module):
).hexsha
if (
"--force" in (utils.get_args_raw(message) or "")
or "-f" in (utils.get_args_raw(message) or "")
or not self.inline.init_complete
or not await self.inline.form(
message=message,