Commit Graph

183 Commits

Author SHA1 Message Date
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
34a89b6c03 fix: resolve circular import and NameError 2025-06-18 01:46:46 +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
Prateek Bhatia
7ccfda5d23 Removed akipy from optional-requirements (depriciated)
Signed-off-by: Prateek Bhatia <bhatiaprateek111@gmail.com>
2025-06-09 00:37:18 +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
Prateek Bhatia
dd82cac7dd Added Ruff Formatter to improve code quality
Signed-off-by: Prateek Bhatia <bhatiaprateek111@gmail.com>
2025-06-09 00:21:47 +05:30
Prateek Bhatia
aa09441014 Temporarily remove Heroku deployment support
Heroku deployment support has been temporarily removed due to recent patches affecting Ultroid deployments.

This change helps prevent accidental bans caused by users unknowingly deploying to Heroku. Support will be re-added once a proper solution is implemented.
2025-06-09 00:18:04 +05:30
Parvshah-01
8bc272cadb Update tools.py (#472) 2025-06-05 20:38:06 +05:30
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
Spidy
9e7a0cf96e ultroid: docker: remove version
https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-and-name-top-level-elements
2025-02-22 16:51:42 +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
Tosu
5f9f4e2367 Update README.md (#446)
* Update README.md

* Update README.md

---------

Co-authored-by: tusarpatel <167279662+tusarpatel@users.noreply.github.com>
2025-02-20 18:41:54 +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
Atul Kumar Jena
d145554b47 Merge pull request #460 from Qurbonsaid/patch-1
fix: time_int in ban_time remove whitespace
2024-10-26 17:53:32 +05:30
Qurbonsaid
c8d2cdfdfd fix: time_int in ban_time remove whitespace 2024-10-25 19:42:29 +05:00
TrueSaiyan
8d9418eb78 Akinator improve logging (#453) 2024-08-01 22:40:28 +05:30
TrueSaiyan
778ef54541 fix: Akinator game (#452) 2024-07-28 09:56:49 +05:30
HYBRID
01f5fcc2a8 fix chatbot ai (#450) 2024-07-14 17:17:02 +05:30
Devesh Pal
b1b443245a Update requirements.txt 2024-07-09 08:36:24 +05:30
Devesh Pal
e04e084851 Revert: to older later (fork) 2024-05-29 09:42:43 +05:30
Devesh Pal
86fb9b760b fix: _bot attribute for vcClient 2024-05-17 18:34:33 +05:30
Devesh Pal
2d95dfb8f9 feat: use telethonpatch to patch changes 2024-05-17 08:02:15 +05:30
Devesh Pal
f81b418c10 fix: logo command 2024-05-17 07:58:48 +05:30
Yoko
4264383e61 Update CodeQL workflow to use latest CLI binaries and cache database (#431)
* Update CodeQL workflow to use latest CLI binaries and cache database

Update CodeQL workflow to use latest CLI binaries and cache database

- Specify the use of the latest CodeQL CLI binaries version v2.15.3 for both initialization and analysis steps.

* Resolve deprecation issue by upgrading to CodeQL Action v2

Resolve deprecation issue by upgrading to CodeQL Action v2

- Updated 'Initialize CodeQL' and 'Perform CodeQL Analysis' steps to use version 2 of the CodeQL Action.
- Removed deprecated version references and ensured compatibility with the latest GitHub Actions specifications.
2024-05-13 15:42:59 +05:30
Amit Sharma
d9838a0626 Update API url 2024-01-31 15:25:54 +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
Anekashastrahasta
d768b0427f Update Carbonara API url (#414) 2023-06-15 15:36:45 +05:30
Amit Sharma
b19a496276 Pass if no .env found 2023-05-16 09:20:12 +05:30
buddhhu
bba9fbe095 Update 2023-05-15 22:40:17 +05:30
buddhhu
d2351e5c02 Update variables from .env 2023-05-15 22:38:55 +05:30
buddhhu
24e7379c59 Exits on using LocalDB 2023-05-14 12:40:09 +05:30
Sharma Amitkumar Ramkumar
cb7889e5b6 AttributeError: no attribute '_bot' 2023-04-18 22:02:43 +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
Aditya
9746b48e46 feat: fix up session gen 2022-12-21 19:57:13 +05:30