Hikari
0bb34f9966
Inherit `StopLoop` from `Exception` so the python doesn't piss off
2022-04-23 12:32:24 +00:00
Hikari
1b846a6e1b
Return best match if no full-match occurred in `.help`
2022-04-23 12:30:37 +00:00
Hikari
d74aaa99fd
Remove weird "-> None" typehints, idk why I left them for so longs
2022-04-23 12:12:52 +00:00
Hikari
791f1d1774
Make core modules loader data accessible via inspect
2022-04-23 12:09:12 +00:00
Hikari
4bd1d302fa
1.0.7: Add `self.animate` function to all modules, which allows you to easily create fancy animations
2022-04-23 11:26:14 +00:00
Hikari
d3144fcebd
1.0.6: Add `callback`s to inline query answers
2022-04-23 04:41:51 +00:00
Hikari
74e6bbdad6
1.0.5: Allow to pass `disable_security` and `always_allow` to buttons directly for use in inline queries
2022-04-23 04:20:44 +00:00
Hikari
f4f7e8e0b9
1.1.4: `utils.get_git_hash()`, fix stuff, add debugging mode for modules. For more info check t.me/hikka_ub
2022-04-22 12:51:17 +00:00
Hikari
c4501a5a4a
1.0.3: Finally (hopefully) fix config
2022-04-18 13:20:12 +00:00
Hikari
20992a7d43
1.1.2: Add `@loader.loop` in order to provide developers native and easy access to inifite loops
2022-04-17 15:59:54 +00:00
Hikari
60f104f542
Save config values at mod config, rather than in __module__
2022-04-17 11:39:13 +00:00
Hikari
d064cfeaf3
Minor bug fixes
...
Move `skip_hook` check before re-assigning strings, add Nonetype check close
2022-04-17 11:14:39 +00:00
Hikari
a3ea19dc58
Minor bug fixes
2022-04-17 10:58:14 +00:00
Hikari
2d525ab6b0
1.1.1: Finally drop Uniborg and Raphielgang compatibility layer, refactor code a bit, fix minor bugs
...
This layer was needed 2 yrs ago, when FTG was starting and there were no modules. Right now, there are much more modules for FTG\GeekTG\Hikka, rather than for Uniborg and Raphielgang, so I decided to drop this layer, bc it is very large amount of code and kinda useless right now
2022-04-17 08:52:43 +00:00
Hikari
863892d9a0
Automatically install ffmpeg and optional requirements on Okteto
2022-04-17 07:08:36 +00:00
Hikari
db79a8a18f
Compatibilit tweak
2022-04-17 07:06:11 +00:00
Hikari
5b7a869f26
Fix fantom message with exception when trying to raise MessageNotModified
2022-04-16 20:29:41 +00:00
Hikari
fa1ff8527a
Remember inline_message_id of form in case it gets unloaded before the result is returned
2022-04-16 20:27:13 +00:00
Hikari
69c64072c3
1.1.0: First major update. A LOT OF STUFF. Really, a lot. Check out hikka channel for more info
2022-04-16 20:00:15 +00:00
Hikari
f6b7636a03
Some minor lavhost fixes
2022-04-15 17:20:50 +00:00
Hikari
6b1d20d0f8
Add ability to disable automatic backups
2022-04-15 09:39:41 +00:00
Hikari
74ae9ecb57
Add automatic database backup (`HikkaBackup`)
2022-04-15 09:30:34 +00:00
Hikari
22c260492a
Add `.nonickchat` command to HikkaSettings
...
You can enable NoNick for certain chat in order to avoid userbot spam in not-needed chats
2022-04-15 08:01:58 +00:00
Hikari
a930e85678
Allow user to control callback buttons (forms) security via `.security` command
2022-04-15 07:44:59 +00:00
Hikari
c6b03249e8
Update `cache_time` in native query answers so they are not cached anymore
2022-04-14 17:56:50 +00:00
Hikari
c98a9f610b
Automatically confirm update if it was initiated via the button in update notifier
2022-04-14 09:25:26 +00:00
Hikari
df3c684a43
Refactor inline security, replace weird two-level generator with for-loop and generator, fix galleries
2022-04-14 09:09:05 +00:00
Hikari
1e307b98c2
Add automatic restart after installing dependencies \ reinstalling telethon
2022-04-13 18:55:34 +00:00
Hikari
4b730c40d2
Add telethon check in order to avoid errors due to classic telethon installation
2022-04-13 18:42:33 +00:00
Hikari
21d9133d30
1.0.29: Add `@loader.inline_everyone`
...
This can be used underneath inline handlers and callback handlers to control default permission rules. Don't forget to set up an inline security mask in `.inlinesec`, otherwise some modules could become unusable
2022-04-13 17:59:55 +00:00
Hikari
748f51351f
1.0.28: Add `silent` param to lists, forms and galleries; Add `photo` param to inline form
...
Add URL validator to `inline._generate_markup`, which will ignore buttons with invalid urls
2022-04-13 17:15:00 +00:00
Hikari
f4761b91de
Add CakesTwix to allowed origins
...
There was no https://twix.nonfalse-networks.net.ua/modules , which have been forbading to install modules from this origin via buttons
2022-04-12 13:08:06 +00:00
Hikari
e6336679d7
Add Raspberry Pi recognition to `utils.get_named_platform`. thx to @CakesTwix
2022-04-11 13:21:29 +00:00
Hikari
eea3d2f3e5
1.0.27: New requirement - grapheme. New `utils.smart_split`, authored by t.me/bsolute. Minor improvements
2022-04-10 21:44:20 +00:00
Hikari
fdef2634de
Fix weird bug with un-translated modules due to invalid `__module__`
2022-04-09 12:46:51 +00:00
Hikari
aa34046f27
Fix loading status messages for forms, galleries and lists
2022-04-09 12:30:46 +00:00
Hikari
f2ef452acd
Fix `.dlmod`, remove logspam from utils
2022-04-09 12:12:19 +00:00
Hikari
070366b341
1.0.26: Add `utils.smart_split` which splits the message in chunks and relocates entities so they fit. If `utils.answer` response is too large to send in one message, it will be split in chunks and sent using `inline.list`
2022-04-09 11:56:39 +00:00
Hikari
dc16e406ff
Fix when answering inline query via native method
2022-04-09 08:04:51 +00:00
Hikari
bf6297388e
Fix markup
2022-04-08 16:06:55 +00:00
Hikari
d0b63e4798
Fix some typos
2022-04-08 13:52:01 +00:00
Hikari
24759e5005
Protect core modules and internal commands from being overwritten by weird external analogs
2022-04-08 13:47:12 +00:00
hikari.ftg
19da41bcbc
Fix `.unloadmod`, allow to edit forms `disable_security` on `call.edit`
2022-04-08 12:43:26 +00:00
hikari.ftg
c49b03bfea
Update docstrings
2022-04-08 12:35:36 +00:00
hikari.ftg
f76db91648
1.0.25: Add `disable_security` param to forms, galleries, lists and query galleries. Clean up code a lil bit
2022-04-08 12:26:42 +00:00
DeepSource Bot
6dacf19387
Update .deepsource.toml
2022-04-08 12:11:04 +00:00
hikari.ftg
bf4098339d
Deepsource fixes
2022-04-07 18:01:20 +00:00
hikari.ftg
e1995e2c4e
Delete outdated docs bc they migrated to github wiki
2022-04-07 17:51:40 +00:00
Dan Gazizullin
16fc1b2217
Merge pull request #7 from hikariatama/beta
...
1.0.24
2022-04-07 20:00:27 +03:00
hikari.ftg
817eda537b
Okteto fixes
2022-04-07 16:41:15 +00:00