Commit Graph

998 Commits (d2434959891ec41e91236544632180589dcba69e)

Author SHA1 Message Date
hikari.ftg f19c40bbef `utils.dnd`, which silence the peer and archives it (especially good for bots, which are used to obtain tokens), automatically silence the @hikka_userbot, @botfather and others. Update typehints in utils 2022-04-07 16:29:59 +00:00
hikari.ftg 045fcf4323 Migrate from string formmating to f-strings in logging 2022-04-07 16:15:26 +00:00
hikari.ftg 4e87ebd3c2 1.0.24: Refactor security, fix security for groups, remake module storage system with legacy db migration 2022-04-07 15:50:13 +00:00
hikari.ftg 556a52b2fb Omit case when unloading module 2022-04-07 13:33:54 +00:00
hikari.ftg b71f51e8ea Automatically add `text` and `raw_text` attributes to an `Event` object to avoid weird logspam from dochub modules 2022-04-07 13:31:24 +00:00
hikari.ftg 3cf750a586 Attempt to install dependencies from error message if they are not specified in code 2022-04-07 13:27:33 +00:00
hikari.ftg 737dfd8343 Add modules' creators propriety gesture to HikkaDL (Automatic reaction when downloading via button) 2022-04-07 11:17:10 +00:00
hikari.ftg bd6f35878d 1.0.23: Add ability to disable HikkaDL natively, add support for non-inline mode for Updater 2022-04-07 10:54:16 +00:00
hikari.ftg 0139b7bd9c Automatically revoke HikkaAPI token if it expires \ becomes invalid 2022-04-07 09:14:27 +00:00
hikari.ftg db14892ce2 Add requirements 2022-04-06 19:09:20 +00:00
hikari.ftg 050ac0ea4f 1.0.22: Add HikkaDL module to use download buttons 2022-04-06 19:05:31 +00:00
hikari.ftg 8181ae56f4 UpdateNotifier translateability 2022-04-06 06:10:29 +00:00
hikari.ftg 29784d2e0d Delete last update notification when new one is upstrea 2022-04-06 06:03:19 +00:00
hikari.ftg 1cd3302c9c Cool updater (test) 2022-04-05 19:10:52 +00:00
hikari.ftg 25ae14de28 Fix `_bot_username` attribute error 2022-04-05 18:53:13 +00:00
hikari.ftg bf6298db45 Compat update 2022-04-05 18:46:52 +00:00
hikari.ftg c0a101bdc2 Some fixes 2022-04-05 18:07:23 +00:00
hikari.ftg 93e44db8e7 Minor bug fixes 2022-04-05 17:38:43 +00:00
hikari.ftg 179f12d9ca 1.0.21: A lot of stuff: web fixes, bug fixes, automatic seamless userbot restart when adding new account in web, replace emojies, add inline list feature, fix `types` name conflict and I don't remember other fixes, read code 2022-04-05 16:46:03 +00:00
hikari.ftg 708639d7f2 Fix UpdateNotifier 2022-04-03 17:34:59 +00:00
hikari.ftg 467c093a26 Upload UpdateNotifier 2022-04-03 17:30:17 +00:00
hikari.ftg 273c3d6561 Remove Okteto debugging 2022-04-03 17:14:40 +00:00
hikari.ftg 764b158e91 Add `.hikkainfo` cmd 2022-04-03 16:52:45 +00:00
hikari.ftg 60fe788d2e 1.0.20: Allow passing `reply_markup` field to inline result. Allow passing only dict or only one embeded list with dicts, if you don't need a lot of lines of buttons 2022-04-03 16:17:54 +00:00
hikari.ftg 759ff3ef16 1.0.19: Allow developers to return InlineQuery result via `dict` \ list of `dict`s. Move query gallery to a separate module 2022-04-03 15:46:32 +00:00
hikari.ftg d34a12d768 Fix 2022-04-03 11:03:02 +00:00
hikari.ftg 03f7c71557 Bug fixes and refactorment 2022-04-03 11:01:05 +00:00
hikari.ftg 15bc667860 Minor bug fixes 2022-04-03 10:45:08 +00:00
hikari.ftg 94a7bdc221 Hotfix 2022-04-02 20:33:46 +00:00
hikari.ftg 495ef51acd Replace misswritten license 2022-04-02 20:16:45 +00:00
hikari.ftg 17e9e362d4 1.0.18: Add `silent` and `archive` params to `utils.asset_channel`. Remake logging so it become native with `BotLogger`. Inject `BotLogger` analog directly 2022-04-02 20:14:24 +00:00
hikari.ftg 288ac55c85 Add possibility to change bot username via `.ch_hikka_bot` 2022-04-01 22:04:12 +00:00
hikari.ftg a0e9586506 1.0.17: Add ability to set up inline commands' security map (only `owner`, `sudo`, `support` and `everyone`, because other permissions are inaccessible when processing inline query). Add database serializeability check to avoid JSON-serialization problems if unserializable object is being stored in db. Minor bugfixes 2022-04-01 20:51:35 +00:00
hikari.ftg 4583c98c1f Hotfix for Okteto users 2022-04-01 20:15:37 +00:00
hikari.ftg becec46e97 Ignore events to avoid errors in logs 2022-04-01 19:19:43 +00:00
hikari.ftg 0075802a63 1.0.16: Full support of Okteto cloud deployment inculding persistent data storage (additional volume is created), automatic waker for container and other stuff 2022-04-01 19:15:47 +00:00
hikari.ftg 9fa316cd94 Fix data root in web 2022-04-01 18:24:33 +00:00
hikari.ftg 54122dbb23 Update Dockerfile 2022-04-01 17:49:46 +00:00
hikari.ftg 7433c124c7 Add Okteto debugging 2022-04-01 17:45:43 +00:00
hikari.ftg f22c811bfe Updates for Okteto 2022-04-01 17:09:00 +00:00
hikari.ftg d123e3275f Do not create `/data` folder manually, but specify it in okteto stack manifest 2022-04-01 13:19:55 +00:00
hikari.ftg c9e527fad7 Remove unnecessary `os.chdir`, which breakes userbot on Okteto 2022-04-01 13:00:16 +00:00
hikari.ftg c6e2075ec3 Add additional directory creation in loader 2022-04-01 12:58:23 +00:00
hikari.ftg fbc7d9e323 Okteto: Replace relative path to `data` dir to a abolute one 2022-04-01 12:54:56 +00:00
hikari.ftg 4842b86ece Delete unused file 2022-04-01 12:50:53 +00:00
hikari.ftg 4222ea5840 When userbot is installed to Okteto, store persistent data in `data` folder 2022-04-01 12:49:56 +00:00
hikari.ftg 62f6bdcc46 Okteto 2022-04-01 11:54:28 +00:00
hikari.ftg 667fdface4 Okteto 2022-04-01 11:51:07 +00:00
hikari.ftg 25172e9efa Attempting to solve okteto issues 2022-04-01 11:33:57 +00:00
hikari.ftg 94974c8b5a Add client id to session file name to avoid conflicts when user tries to add two accounts with the same phone endings 2022-03-31 20:50:03 +00:00