Commit Graph

605 Commits

Author SHA1 Message Date
Abhi
e4349debd9 Refactor load_missing_modules: optimize module loading 2025-03-02 23:17:19 +05:30
Abhi
8ee169fdda fix issues with update 2025-03-01 22:05:51 +05:30
github-actions[bot]
eb9a0ac8dd Update modules/full.txt (#118)
Co-authored-by: AbhiTheModder <AbhiTheModder@users.noreply.github.com>
2025-03-01 21:45:11 +05:30
Abhi
328eba25d6 Remove deperecated VCA API vars 2025-02-28 20:30:03 +05:30
github-actions[bot]
06aa2768b4 Update modules/full.txt (#117)
Co-authored-by: AbhiTheModder <AbhiTheModder@users.noreply.github.com>
2025-02-11 09:18:33 +05:30
Abhi
85bd4d627b refactor: replace message_counts with user_warnings for tracking user warnings 2025-02-08 18:05:15 +05:30
Abhi
3044fe767c feat: set custom anti_pm pic, default anti_pm msg 2025-02-08 16:25:30 +05:30
Abhi
027b63fd3d Fix logging format 2025-02-07 12:16:11 +05:30
Abhi
d4a18fab0d Fix logging format 2025-02-07 12:13:53 +05:30
Abhi
dc7a8a5b23 Improve loader module to manage custom modules in the database
- Ensure the database is updated when modules are loaded, unloaded, or all modules are unloaded.
- On userbot start, fetch the list of modules from the database and load any missing modules.
2025-02-07 12:10:14 +05:30
Abhi
3cd2e918e9 Create nixpacks.toml (#116) 2025-02-07 10:31:46 +05:30
Abhi
990279db9c Update Aptfile 2025-02-07 08:41:12 +05:30
Abhi
733f16dc8f Update Python version to 3.11.10 and remove outdated runtime file 2025-02-06 06:37:13 +00:00
Abhi
cb787fa651 Remove unused import enums 2025-01-26 18:21:09 +05:30
Abhi
8da24c62eb Merge remote-tracking branch 'origin/main' 2025-01-26 18:16:05 +05:30
Abhi
0b63c00a36 Progress args for upload 2025-01-26 18:12:14 +05:30
github-actions[bot]
59dbfbd03e Update modules/full.txt (#114)
Co-authored-by: AbhiTheModder <AbhiTheModder@users.noreply.github.com>
2025-01-25 12:36:27 +05:30
github-actions[bot]
2b943a4eae Update modules/full.txt (#113)
Co-authored-by: AbhiTheModder <AbhiTheModder@users.noreply.github.com>
2025-01-25 10:40:39 +05:30
Abhi
2c1a3f56fa uv: min. python support to 3.11 2025-01-12 17:52:30 +05:30
Abhi
bea7c10d40 Delete modules/aiutils.py
VisionCraft has officially come to an end.
https://t.me/visioncraft_channel/472
2025-01-10 00:12:26 +05:30
github-actions[bot]
23515cb247 Update modules/full.txt (#112)
Co-authored-by: AbhiTheModder <AbhiTheModder@users.noreply.github.com>
2025-01-09 08:11:16 +05:30
github-actions[bot]
054d2d8284 Update modules/full.txt (#111)
Co-authored-by: AbhiTheModder <AbhiTheModder@users.noreply.github.com>
2025-01-05 13:08:17 +05:30
Abhi
7a0d8e5e1b Update update_modules.yml 2024-12-26 13:47:35 +05:30
Abhi
05140c7831 Update update_modules.yml 2024-12-19 07:05:38 +05:30
github-actions[bot]
325e524ec3 Update modules/full.txt (#110)
Co-authored-by: AbhiTheModder <AbhiTheModder@users.noreply.github.com>
2024-12-17 15:45:40 +05:30
Abhi
56c4612c1e address dependabot issues 2024-12-10 11:03:57 +05:30
Abhi
27fdc79ff7 remove rentry subprocess use 2024-12-10 10:54:31 +05:30
github-actions[bot]
b5e290b0c3 Update modules/full.txt (#109)
Co-authored-by: AbhiTheModder <AbhiTheModder@users.noreply.github.com>
2024-12-08 07:15:59 +05:30
Abhi
b2b7271654 add no_prefix filter freate fcn 2024-12-08 07:13:19 +05:30
github-actions[bot]
b7963023e5 Update modules/full.txt (#108)
Co-authored-by: AbhiTheModder <AbhiTheModder@users.noreply.github.com>
2024-12-05 10:01:16 +05:30
github-actions[bot]
cef36c3f77 Update modules/full.txt (#107)
Co-authored-by: AbhiTheModder <AbhiTheModder@users.noreply.github.com>
2024-12-05 02:02:39 +05:30
Abhi
2f07fb5259 [CI] Automate Modules update 2024-12-05 01:54:02 +05:30
Abhi
6b120bb31e resolve dependabot issues 2024-12-05 01:10:59 +05:30
Abhi
9856ea414b speed-up load modules 2024-12-05 00:45:03 +05:30
Abhi
728d97250d ensure help page change when it's actually help message 2024-12-04 22:54:49 +05:30
Abhi
1394aec513 resolve dependabot issues (#106) 2024-12-04 22:46:57 +05:30
Abhi
fdd3546e9f implement plugins load with category 2024-12-04 22:04:29 +05:30
Abhi
5fdbe84aed set custom afk & pm permit (#105)
* set custom afk message

* set custom antipm message
2024-11-30 05:50:16 +05:30
Abhi
36fd906bb2 Update README.md 2024-11-30 03:30:01 +05:30
Abhi
4b4e33686a remove unused music handler from install (#104)
* remove unused music handler from install
2024-11-30 02:03:03 +05:30
Abhi
d54d78e677 Create DISCLAIMER.md 2024-11-30 01:21:42 +05:30
Abhi
add54827a1 refactor docker 2024-11-29 22:25:37 +05:30
Abhi
6a228170b9 fix 2024-11-29 21:37:26 +05:30
Abhi
6289d3aad8 format 2024-11-29 19:19:11 +05:30
Abhi
ca202247db move safone out of core 2024-11-29 19:03:15 +05:30
Abhi
5bac8a6b7c use printf 2024-11-29 18:30:56 +05:30
sTiKyt
e2611b2c5a Base of the cross-distro installer, some fixes (#102)
* Ensure root execution

Added a check to ensure the script runs with root privileges, and prompt for the root password if necessary.

Package manager detection

Automatic package manager detection and installation commands. This change simplifies the installation process by automating the detection of the package manager and installing necessary packages accordingly. Added support for multiple package managers such as apt, apk, yum, and pacman.

Add repository cloning and environment setup in install.sh

Refactored install.sh to improve virtual environment setup, forbid it from executing apt commands without verifying apt presence, added loops for database and installation options.

Add repository cloning and environment setup in install.sh

Refactored install.sh to improve virtual environment setup, forbid it from executing apt commands without verifying apt presence, added loops for database and installation options.

* Update README format and streamline installation instructions

Reformatted sections for better readability, removed unnecessary </p>, replaced weird symbols with spaces

* spacing

* enhnace PM_PERMIT comment

* enhance git install instrunction

* Enhance repo existence check in installation script

Updated the condition to verify both the presence of the directory and essential files (.env.dist, main.py, modules) before proceeding in the existing repository path. This change ensures the script runs only if all required files are available, preventing errors during installation.

* Add user prompt for virtual environment creation

Introduce a prompt to let the user decide whether to create a virtual environment, providing guidance and the option to skip if needed.

* Fixed a typo in options for db_type

* Reorder script execution for better flow

Moved the execution of `install.py` to ensure configuration prompts occur before running the script.

* Update README.md

---------

Co-authored-by: Abhi <85984486+AbhiTheModder@users.noreply.github.com>
2024-11-29 06:27:08 +05:30
Abhi
7bdfdedece bump runtime python version 2024-11-25 05:55:14 +05:30
Abhi
5688edc22f black 2024-11-25 03:55:37 +05:30
Abhi
1fc0237af4 [MODULE] open: refactor
- reduce cyclomatic complexity in check_extension
- better parsing of syntax
2024-11-25 03:48:44 +05:30