Commit Graph

98 Commits

Author SHA1 Message Date
Cursor User
42275fd6c1 Complete Ultroid update system modernization and addon fixes
- Enhanced update_script.py with better error handling and restart logic
- Fixed update command in plugins/bot.py to default to user's fork
- Improved update command help and interactive options
- Fixed import errors in addons/snips.py and addons/tag.py
- All update operations now default to user's fork unless 'original' specified
- Added reliable external script-based update mechanism
- Ensured proper shutdown/restart cycle for updates
2025-06-18 17:30:48 +02:00
Cursor User
7b1d54a866 feat(update): Implement external script-based update system
- Created update_script.py for reliable external updates
- Modified update command to use external script approach
- Bot now shuts down, launches update script, and restarts automatically
- Added proper repository handling and dependency updates
- Improved update UI with better status messages and buttons
- Fixed issues with in-process updates that could cause corruption

This approach is much more reliable as it:
- Avoids updating files while they're in use
- Properly handles git operations without conflicts
- Ensures clean restart after updates
- Provides better error handling and user feedback
2025-06-18 17:06:30 +02:00
Cursor User
d07ff4c694 fix(update): Use correct Heroku environment variables 2025-06-18 02:45:48 +02:00
Cursor User
db92de7a2d feat(update): Overhaul update command for reliability and UX
- Completely rewrote the update logic in plugins/bot.py.
- Introduced a new get_updates helper function for robustly checking for new commits using git.
- The updater command now supports flexible arguments (
ow, original) for more control over the update process.
- Added comprehensive help text, accessible via .help update, to explain the new functionality.
- Instead of auto-updating, the bot now sends a detailed changelog with an 'Update Now' button to the log channel.
- Added callback handlers for the new interactive update buttons.
- Ensured temporary git remotes are properly cleaned up to prevent conflicts.
- Changed the default repository URL in buttons to point to the original ThePrateekBhatia/Ultroid repo.
2025-06-18 02:31:29 +02:00
Cursor User
cc5f0be82e feat: add help text for .update command 2025-06-18 01:58:28 +02:00
Cursor User
c4c64d3222 feat: Add update-from-fork feature and fix GDrive 2025-06-18 01:28:42 +02:00
Prateek Bhatia
12e01b3f44 fix: handle USERNAME_DB type in uname_stuff to prevent AttributeError
Ensure that USERNAME_DB is a dictionary before calling .get() in the uname_stuff function.
This prevents runtime errors when the database returns a string or unexpected type, improving
the stability of username logging and update handling.
2025-06-09 00:53:21 +05:30
github-actions[bot]
e8965cf0c4 format: auto-format code by ruff.
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-08 18:53:15 +00:00
Parvshah-01
d9a080d854 Added support for extracting IDs and fetching content from Telegram “openmessage” links (#471)
Added support to fetch message content from Telegram “openmessage” links.
2025-06-05 20:20:46 +05:30
Sipak
7d689dd7f1 devtools: fix relative imports inside eval 2025-06-05 11:04:43 +05:30
New-dev0
db7abae627 feat: support storydl from link 2025-06-02 14:49:41 +05:30
New-dev0
b1ee7d9733 fix: eval on python 3.13 and include multi client script 2025-05-31 23:23:48 +05:30
New-dev0
a98f052166 fix: gemini plugin not providing response 2025-05-31 20:32:50 +05:30
New-dev0
dba2b01dcd feat: add stories plugin
fix autopic
2025-05-31 20:15:06 +05:30
Okk Hex
a7cc8ce073 fix gemini dynamic model (#470) 2025-04-01 19:09:23 +00:00
Devesh Pal
c5c7916be6 Bug fixes V2.1 (#467)
* Ultroid 2025 

Co-authored-by: New-dev0 <New-dev0@users.noreply.github.com>
Co-authored-by: Amit Sharma <buddhhu@users.noreply.github.com>
Co-authored-by: TechiError <techierror@users.noreply.github.com>
Co-authored-by: Aditya <me@xditya.me>
Co-authored-by: 1Danish-00 <danish@ultroid.tech> 
Co-authored-by: Arnab Paryali <Arnabxd@users.noreply.github.com>
Co-authored-by: hellboi_atul <hellboi-atul@users.noreply.github.com>
Co-authored-by: sppidy <sppidy@users.noreply.github.com> by Devesh Pal
2025-02-23 09:17:26 +05:30
Devesh Pal
0afa1ade15 AI wrapper and twitter plugin (#465)
* Ultroid 2025

Co-authored-by: New-dev0 <New-dev0@users.noreply.github.com>
Co-authored-by: Amit Sharma <buddhhu@users.noreply.github.com>
Co-authored-by: TechiError <techierror@users.noreply.github.com>
Co-authored-by: Aditya <me@xditya.me>
Co-authored-by: Arnab Paryali <Arnabxd@users.noreply.github.com>
Co-authored-by: hellboi_atul <hellboi-atul@users.noreply.github.com>
Co-authored-by: sppidy <sppidy@users.noreply.github.com>
2025-02-21 23:05:48 +05:30
TrueSaiyan
dace7972f3 Few fixes and addition (#444) 2025-02-20 18:48:27 +05:30
TrueSaiyan
ab9f0c7254 update get_restricted_message for forwards disabled groups (#454)
Fixed get_restricted_msg function, so you can retrieve messages from public groups that have forwards disabled or private groups if you are in them
2025-02-20 18:43:01 +05:30
TrueSaiyan
1951b1c627 Fix: Rayso (#455)
* Fix: Rayso

Fixed Rayso, with a dynamic selector and updated themes list

* Update beautify.py
2025-02-20 18:41:09 +05:30
HYBRID
f5b788983b disable logging for the TAG_LOG chat (#464) 2025-02-20 18:40:28 +05:30
Devesh Pal
f81b418c10 fix: logo command 2024-05-17 07:58:48 +05:30
Devesh Pal
7f5d75a71c Fix: qrcode while using user's profile 2024-01-23 00:38:42 +05:30
Devesh Pal
7b7cb6d56e Fix echo and setpic 2023-12-11 11:25:49 +05:30
Devesh Pal
b9055327be FIX: Rayso
use playwright to generate rayso

disable announcement updates

make graph.org default domain
2023-12-10 19:14:08 +05:30
Aditya
41fb5b5250 chore: update license year 2023-07-09 22:25:45 +05:30
Devesh Pal
09971ca76d Update Ultroid v0.8
---------

Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
Co-authored-by: Aditya <me@xditya.me>
Co-authored-by: Dark <darkbeamer.official@gmail.com>
Co-authored-by: buddhhu <amitsharma123234@gmail.com>
Co-authored-by: Kaif <88398455+kaif-00z@users.noreply.github.com>
Co-authored-by: 1Danish-00 <danish@ultroid.tech>
Co-authored-by: TechiError <techierror@gmail.com>
Co-authored-by: Dark <59723913+DarkBeamerYT@users.noreply.github.com>
2023-02-20 10:51:29 +05:30
Devesh Pal
47bedbcbb6 chore: fix chatbot and other minor issues.
- update Chatbot API.
- Fix Invalid type of object in database.
2022-12-18 17:43:37 +05:30
CyrusXD
20499956e4 Update fontgen.py 2022-10-03 22:53:04 +05:30
Devesh Pal
0671f371d3 Update Ultroid v0.7.1
Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
Co-authored-by: Aditya <me@xditya.me>
Co-authored-by: ᴀɴᴏɴʏᴍᴏᴜs <rahulking25102006@gmail.com>
2022-10-02 17:06:12 +05:30
Devesh Pal
d8bd901072 Ultroid v0.7 Updates
Date: 30-8-2022
Co-Authored-By: Aditya <me@xditya.me>
Co-Authored-By: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
Co-Authored-By: CyrusXD <79554993+Ashutosh1478@users.noreply.github.com>
Co-Authored-By: Danish <danish@ultroid.tech>
Co-Authored-By: TechiError <error@notavailable.live>
Co-Authored-By: Arnab Paryali <arnabxd@pm.me>
2022-08-30 16:05:58 +05:30
Devesh Pal
29da05966d Fix Docker Deploy and other minor fixes
* Update Reference to old support chat by @xditya
* Fix Docker Deploy
* Update Telethon layer to latest
* closes #321

Co-Authored-By: Danish <danish@ultroid.tech>
Co-Authored-By: TechiError <error@notavailable.live>
Co-Authored-By: Aditya <me@xditya.me>
Co-Authored-By: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
2022-07-21 15:30:16 +05:30
Devesh Pal
4d30dd7dd7 [Update] Ultroid v0.6
Co-Authored-By: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
Co-Authored-By: MMETMA <79155572+MMETMA@users.noreply.github.com>
Co-Authored-By: Aditya <me@xditya.me>
Co-Authored-By: marat2509 <93652988+marat2509@users.noreply.github.com>
Co-Authored-By: smartman_ru <14003491+smartmanru@users.noreply.github.com>
Co-Authored-By: Flasho <75789819+flashokillerify@users.noreply.github.com>
Co-Authored-By: ÁÑÑÍHÌLÅTØR SPÄRK <75305464+annihilatorrrr@users.noreply.github.com>
2022-06-06 23:18:16 +05:30
Devesh Pal
90ad5646ff Ultroid v0.5 Updates
Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
Co-authored-by: Aditya <xditya@ultroid.tech>
Co-authored-by: Kaif <88398455+kaif-00z@users.noreply.github.com>
Co-authored-by: Aditya <me@xditya.me>
Co-authored-by: 1Danish-00 <danish@ultroid.tech>
Co-authored-by: smartman_ru <bblkovo@gmail.com>
2022-03-20 00:57:54 +05:30
smartman_ru
0df6f2fc27 Add custom option to getlink command (#288) 2022-03-19 23:21:55 +05:30
mrismanaziz
e9cbd928b0 add group to NOSPAM_CHAT (#278) 2022-03-19 23:21:09 +05:30
Devesh Pal
06ee0bbc52 Fix creating new video stickers pack and other minor fixes.
- Fixed new Video sticker pack
- Fixed AUTOAPPROVE setting via Assistant.
- Fixed circle command for Audio files - By @buddhhu
- updated change language string for different languages

Co-Authored-By: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
2022-02-13 16:12:54 +05:30
Devesh Pal
0dfd8e60c8 Fix packkang
- typo
2022-02-12 14:52:07 +05:30
Devesh Pal
70a3a11b89 Ultroid v0.4.1 2022-02-10 16:28:53 +05:30
Devesh Pal
8ad7073d80 Ultroid v0.4 updates
Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
Co-authored-by: Danish <danish@ultroid.tech>
Co-authored-by: Mahesh Chauhan <84653476+vasusen-code@users.noreply.github.com>
Co-authored-by: Aditya <xditya@ultroid.tech>
Co-authored-by: CyrusXD <79554993+Ashutosh1478@users.noreply.github.com>
2022-02-09 11:53:45 +05:30
Devesh Pal
d82cc7d24e Ultroid v0.3 fixes
Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
2022-01-01 20:35:38 +05:30
Devesh Pal
0df53caf4c Ultroid v0.3 Updates
Co-authored-by: Aditya <xditya@ultroid.tech>
Co-authored-by: Danish <danish@ultroid.tech>
Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
Co-authored-by: TechiError <error@notavailable.live>
Co-authored-by: Avish Kumar <85635883+aviskumar@users.noreply.github.com>
Co-authored-by: Vɪɴᴀʏᴀᴋ Pᴀɴᴅᴇʏ <87496159+harpia-vieillot@users.noreply.github.com>
Co-authored-by: Shrimadhav U K <6317196+spechide@users.noreply.github.com>
Co-authored-by: Dark <darkbeamer.official@gmail.com>
Co-authored-by: Muhamad Risman Aziz <62795826+mrismanaziz@users.noreply.github.com>
Co-authored-by: Ashik Muhammed <84127769+MR-JINN-OF-TG@users.noreply.github.com>
Co-authored-by: MMETMA <79155572+MMETMA@users.noreply.github.com>
Co-authored-by: amirmehdinzri <94852182+amirmehdinzri@users.noreply.github.com>
2021-12-31 23:48:53 +05:30
Devesh Pal
95e0eb20a5 Update to [Layer 133] and [Other Minor Fixes].
Telegram wants all Unofficial Client to instantly change to new layer (on or above 133).

This Commit may Fix-
- Issue with UnsupportedUser64Bot
- minor errors in [listsudo mediainfo] etc.

Co-authored-by: Danish <1-Danish00@ultroid.tech>
2021-12-03 11:00:36 +05:30
Devesh Pal
cd5cf96d02 Minor Fixes and Update deploy link
Minor Fixes and Update deploy link

Co-authored-by: Vɪɴᴀʏᴀᴋ Pᴀɴᴅᴇʏ <87496159+Harpia-Vieillot@users.noreply.github.com> 
Co-authored-by: AkashPattanaik  <akashpattnaik.github@gmail.com>
Co-authored-by: Dark 
<DarkBeamerYT@users.noreply.github.com>
2021-11-17 10:06:58 +05:30
1Danish-00
83ce616dab Ultroid v0.2.1 [Fixes]
Co-authored-by: Devesh Pal <New-dev0@users.noreply.github.com>
Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
Co-authored-by: M̲αραт <marat2509@users.noreply.github.com>
2021-10-11 23:45:55 +05:30
1Danish-00
6f44b386aa v0.2 11/10/2021
Co-authored-by: New-dev0 <New-dev0@users.noreply.github.com>
Co-authored-by: Amit Sharma <buddhhu@users.noreply.github.com>
Co-authored-by: TechiError <techierror@users.noreply.github.com>
Co-authored-by: Aditya <me@xditya.me>
Co-authored-by: Sonya Nikiforova <Sonniki@users.noreply.github.com>
Co-authored-by: M̲αραт <Marty2509@users.noreply.github.com>
Co-authored-by: Muhamad Risman Aziz <mrismanaziz@users.noreply.github.com>
Co-authored-by: Arnab Paryali <Arnabxd@users.noreply.github.com>
Co-authored-by: hellboi_atul <hellboi-atul@users.noreply.github.com>
Co-authored-by: sppidy <sppidy@users.noreply.github.com>
2021-10-11 00:27:23 +05:30
Devesh Pal
8f28387fb3 Small Fixes.
- fixing get addons
- fixing file_download
2021-09-19 14:31:08 +05:30
Danish
50bd12708a v0.1.3 (#164)
* Fixed Addons issue

* Fixed Vc (now u can use direct video links too)

* Fixed Minor Bugs & Issues

Co-authored-by: Devesh Pal <newdev0@outlook.com>
Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
2021-09-18 22:00:56 +05:30
Danish
0265012512 v0.1.2
* Fixed Vc

* Fixed Gban Gmute Info & etc..

* Hindi lang modification

Co-authored-by: Ratul Hasan <74749582+Ratul-Learner@users.noreply.github.com>
Co-authored-by: Avish Kumar <85635883+aviskumar@users.noreply.github.com>
Co-authored-by: Devesh Pal <69723581+New-dev0@users.noreply.github.com>
Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
2021-09-16 18:07:31 +05:30
Devesh Pal
8f1a5d8d1f small fix (.packkang) 2021-09-14 12:06:22 +05:30