diff --git a/.env.sample b/.env.sample index 79d989c855..deb192e192 100644 --- a/.env.sample +++ b/.env.sample @@ -3,10 +3,11 @@ API_ID= API_HASH= SESSION= -REDIS_URI= -REDIS_PASSWORD= + # [OPTIONAL] +REDIS_URI= +REDIS_PASSWORD= LOG_CHANNEL= BOT_TOKEN= diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 98bacbc7ef..6934a6849b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,19 +17,19 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Cache CodeQL database - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.codeql key: ${{ runner.os }}-codeql-${{ hashFiles('**/qlpack.yml') }} restore-keys: ${{ runner.os }}-codeql- - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: 'python' - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/pylint.yaml b/.github/workflows/pylint.yaml index 8c71add5c5..7126f18ef0 100644 --- a/.github/workflows/pylint.yaml +++ b/.github/workflows/pylint.yaml @@ -8,11 +8,11 @@ jobs: PEP8: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: '3.10' cache: "pip" - name: Install Python lint libraries run: pip install autopep8 autoflake isort black diff --git a/.github/workflows/stringanalysis.yml b/.github/workflows/stringanalysis.yml index 5384366600..a071240658 100644 --- a/.github/workflows/stringanalysis.yml +++ b/.github/workflows/stringanalysis.yml @@ -3,8 +3,8 @@ name: Strings Analysis on: pull_request: push: - branches: dev - paths: strings/strings/* + branches: [dev] + paths: [strings/strings/*] workflow_dispatch: jobs: @@ -12,11 +12,11 @@ jobs: name: Checkout Strings runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.9.x + python-version: "3.10" - name: Install Stuff run: pip install pyyaml - name: dl stuff @@ -25,8 +25,8 @@ jobs: run: python stringizer.py && rm stringizer.py - uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: 'Strings: Auto Count' - commit_options: '--no-verify' + commit_message: "Strings: Auto Count" + commit_options: "--no-verify" repository: . commit_user_name: TeamUltroid commit_user_email: 48654350+buddhhu@users.noreply.github.com diff --git a/Dockerfile b/Dockerfile index 813c1cb202..b1776a9b17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in . diff --git a/README.md b/README.md index 53d4542f86..794262e3b0 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ [![Stars](https://img.shields.io/github/stars/TeamUltroid/Ultroid?style=flat-square&color=yellow)](https://github.com/TeamUltroid/Ultroid/stargazers) [![Forks](https://img.shields.io/github/forks/TeamUltroid/Ultroid?style=flat-square&color=orange)](https://github.com/TeamUltroid/Ultroid/fork) [![Size](https://img.shields.io/github/repo-size/TeamUltroid/Ultroid?style=flat-square&color=green)](https://github.com/TeamUltroid/Ultroid/) -[![Python](https://img.shields.io/badge/Python-v3.10.3-blue)](https://www.python.org/) +[![Python](https://img.shields.io/badge/Python-v3.10+-blue)](https://www.python.org/) [![CodeFactor](https://www.codefactor.io/repository/github/teamultroid/ultroid/badge/main)](https://www.codefactor.io/repository/github/teamultroid/ultroid/overview/main) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/TeamUltroid/Ultroid/graphs/commit-activity) [![Docker Pulls](https://img.shields.io/docker/pulls/theteamultroid/ultroid?style=flat-square)](https://img.shields.io/docker/pulls/theteamultroid/ultroid?style=flat-square) diff --git a/assistant/__init__.py b/assistant/__init__.py index 2a2a775b4d..d80a174c4c 100644 --- a/assistant/__init__.py +++ b/assistant/__init__.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/callbackstuffs.py b/assistant/callbackstuffs.py index 15598fee2c..9568724ee9 100644 --- a/assistant/callbackstuffs.py +++ b/assistant/callbackstuffs.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in @@ -57,23 +57,23 @@ def text_to_url(event): Button.inline("SᴜᴘᴇʀFʙᴀɴ", data="cbs_sfban"), ], [ - Button.inline("Sᴜᴅᴏ Mᴏᴅᴇ", data="sudo"), - Button.inline("Hᴀɴᴅʟᴇʀ", data="hhndlr"), + Button.inline("Sudo Mode", data="sudo"), + Button.inline("Handler", data="hhndlr"), ], [ - Button.inline("Exᴛʀᴀ Pʟᴜɢɪɴs", data="plg"), - Button.inline("Aᴅᴅᴏɴs", data="eaddon"), + Button.inline("Extra Plugins", data="plg"), + Button.inline("Addons", data="eaddon"), ], [ - Button.inline("Eᴍᴏᴊɪ ɪɴ Hᴇʟᴘ", data="emoj"), - Button.inline("Sᴇᴛ ɢDʀɪᴠᴇ", data="gdrive"), + Button.inline("Emoji in Help", data="emoj"), + Button.inline("Set gDrive", data="gdrive"), ], [ - Button.inline("Iɴʟɪɴᴇ Pɪᴄ", data="inli_pic"), - Button.inline("Sᴜᴅᴏ HNDLR", data="shndlr"), + Button.inline("Inline Pic", data="inli_pic"), + Button.inline("Sudo HNDLR", data="shndlr"), ], - [Button.inline("Dᴜᴀʟ Mᴏᴅᴇ", "cbs_oofdm")], - [Button.inline("« Bᴀᴄᴋ", data="setter")], + [Button.inline("Dual Mode", "cbs_oofdm")], + [Button.inline("« Back", data="setter")], ], }, "sfban": { diff --git a/assistant/games.py b/assistant/games.py index e2b86eacca..0542f60f8c 100644 --- a/assistant/games.py +++ b/assistant/games.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/initial.py b/assistant/initial.py index c126bbcf19..abf334b282 100644 --- a/assistant/initial.py +++ b/assistant/initial.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/inlinestuff.py b/assistant/inlinestuff.py index ae097f119a..5c157a6bb2 100644 --- a/assistant/inlinestuff.py +++ b/assistant/inlinestuff.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in @@ -73,14 +73,14 @@ async def _(e): version = data["version"] size = humanbytes(data["size"]) release_date = datetime.utcfromtimestamp(data["date"]).strftime("%Y-%m-%d") - text = f"[\xad]({ofox})**OʀᴀɴɢᴇFᴏx Rᴇᴄᴏᴠᴇʀʏ Fᴏʀ**\n\n" - text += f"` Fᴜʟʟ Nᴀᴍᴇ: {fullname}`\n" - text += f"` Cᴏᴅᴇɴᴀᴍᴇ: {codename}`\n" - text += f"` Mᴀɪɴᴛᴀɪɴᴇʀ: {maintainer}`\n" - text += f"` Bᴜɪʟᴅ Tʏᴘᴇ: {release}`\n" - text += f"` Vᴇʀsɪᴏɴ: {version}`\n" - text += f"` Sɪᴢᴇ: {size}`\n" - text += f"` Bᴜɪʟᴅ Dᴀᴛᴇ: {release_date}`" + text = f"[­]({ofox})**OrangeFox Recovery For**\n\n" + text += f"` Full Name: {fullname}`\n" + text += f"` Codename: {codename}`\n" + text += f"` Maintainer: {maintainer}`\n" + text += f"` Build Type: {release}`\n" + text += f"` Version: {version}`\n" + text += f"` Size: {size}`\n" + text += f"` Build Date: {release_date}`" fox.append( await e.builder.article( title=f"{fullname}", @@ -199,18 +199,18 @@ async def gsearch(q_event): title=title, description=desc, thumb=wb(gugirl, 0, "image/jpeg", []), - text=f"**Gᴏᴏɢʟᴇ Sᴇᴀʀᴄʜ**\n\n**••Tɪᴛʟᴇ••**\n`{title}`\n\n**••Dᴇsᴄʀɪᴘᴛɪᴏɴ••**\n`{desc}`", + text=f"**Google Search**\n\n**• Title •**\n`{title}`\n\n**• Description •**\n`{desc}`", link_preview=False, buttons=[ - [Button.url("Lɪɴᴋ", url=f"{link}")], + [Button.url("Link", url=f"{link}")], [ Button.switch_inline( - "Sᴇᴀʀᴄʜ Aɢᴀɪɴ", + "Search Again", query="go ", same_peer=True, ), Button.switch_inline( - "Sʜᴀʀᴇ", + "Share", query=f"go {match}", same_peer=False, ), @@ -302,9 +302,9 @@ async def _(e): name = z["title"] desc = unescape(z["summary"])[:300].replace("
", "\n") + "..." dev = z["developer"]["devId"] - text = f"**••Aᴘᴘ Nᴀᴍᴇ••** [{name}]({url})\n" - text += f"**••Dᴇᴠᴇʟᴏᴘᴇʀ••** `{dev}`\n" - text += f"**••Dᴇsᴄʀɪᴘᴛɪᴏɴ••**\n`{desc}`" + text = f"**• App Name •** [{name}]({url})\n" + text += f"**• Developer •** `{dev}`\n" + text += f"**• Description •**\n`{desc}`" foles.append( await e.builder.article( title=name, @@ -313,10 +313,10 @@ async def _(e): text=text, link_preview=True, buttons=[ - [Button.url("Lɪɴᴋ", url=url)], + [Button.url("Link", url=url)], [ Button.switch_inline( - "Mᴏʀᴇ Aᴘᴘs", + "More Apps", query="app ", same_peer=True, ), diff --git a/assistant/localization.py b/assistant/localization.py index 9f1c18ab5b..7abbdadef6 100644 --- a/assistant/localization.py +++ b/assistant/localization.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/manager/__init__.py b/assistant/manager/__init__.py index ca0dfd62ba..e16967cd56 100644 --- a/assistant/manager/__init__.py +++ b/assistant/manager/__init__.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/manager/_help.py b/assistant/manager/_help.py index bd3fe06d7d..caf0701822 100644 --- a/assistant/manager/_help.py +++ b/assistant/manager/_help.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/manager/_on_adds.py b/assistant/manager/_on_adds.py index d788f37ae9..22b4adad9d 100644 --- a/assistant/manager/_on_adds.py +++ b/assistant/manager/_on_adds.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/manager/admins.py b/assistant/manager/admins.py index d8b896543c..ebf6f9bd36 100644 --- a/assistant/manager/admins.py +++ b/assistant/manager/admins.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/manager/afk.py b/assistant/manager/afk.py index 505a81d958..c371d37fa8 100644 --- a/assistant/manager/afk.py +++ b/assistant/manager/afk.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/manager/misc.py b/assistant/manager/misc.py index 0133df8bfd..6bb98a3920 100644 --- a/assistant/manager/misc.py +++ b/assistant/manager/misc.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/manager/stickermanager.py b/assistant/manager/stickermanager.py index 1d8e5fe26a..6f0d6f3b7b 100644 --- a/assistant/manager/stickermanager.py +++ b/assistant/manager/stickermanager.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/pmbot.py b/assistant/pmbot.py index 961c2956ec..e061e3afa8 100644 --- a/assistant/pmbot.py +++ b/assistant/pmbot.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/assistant/start.py b/assistant/start.py index 3dd246dc35..4024b488f3 100644 --- a/assistant/start.py +++ b/assistant/start.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in @@ -35,24 +35,24 @@ _settings = [ [ - Button.inline("API Kᴇʏs", data="cbs_apiset"), - Button.inline("Pᴍ Bᴏᴛ", data="cbs_chatbot"), + Button.inline("API Keys", data="cbs_apiset"), + Button.inline("PM Bot", data="cbs_chatbot"), ], [ - Button.inline("Aʟɪᴠᴇ", data="cbs_alvcstm"), - Button.inline("PᴍPᴇʀᴍɪᴛ", data="cbs_ppmset"), + Button.inline("Alive", data="cbs_alvcstm"), + Button.inline("PMPermit", data="cbs_ppmset"), ], [ - Button.inline("Fᴇᴀᴛᴜʀᴇs", data="cbs_otvars"), - Button.inline("VC Sᴏɴɢ Bᴏᴛ", data="cbs_vcb"), + Button.inline("Features", data="cbs_otvars"), + Button.inline("VC Song Bot", data="cbs_vcb"), ], - [Button.inline("« Bᴀᴄᴋ", data="mainmenu")], + [Button.inline("« Back", data="mainmenu")], ] _start = [ [ - Button.inline("Lᴀɴɢᴜᴀɢᴇ 🌐", data="lang"), - Button.inline("Sᴇᴛᴛɪɴɢs ⚙️", data="setter"), + Button.inline("Language 🌐", data="lang"), + Button.inline("Settings ⚙️", data="setter"), ], [ Button.inline("Sᴛᴀᴛs ✨", data="stat"), diff --git a/assistant/ytdl.py b/assistant/ytdl.py index 1099690996..2cc8660428 100644 --- a/assistant/ytdl.py +++ b/assistant/ytdl.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/install-termux b/install-termux index ee02e5b295..3c09a9e738 100644 --- a/install-termux +++ b/install-termux @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in . diff --git a/installer.sh b/installer.sh index 5c2b8f00f3..51b43d102f 100644 --- a/installer.sh +++ b/installer.sh @@ -35,11 +35,11 @@ check_dependencies() { # check dependencies if installed echo -e "Root access not found. Checking if dependencies are installed." >&2 if ! [ -x "$(command -v python3)" ] || ! [ -x "$(command -v python)" ]; then - echo -e "Python3 isn't installed. Please install python3.8 or higher to run this bot." >&2 + echo -e "Python3 isn't installed. Please install python3.10 or higher to run this bot." >&2 exit 1 fi - if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 8 ] || [ $(python -c "import sys; print(sys.version_info[1])") -lt 8 ]; then - echo -e "Python 3.8 or higher is required to run this bot." >&2 + if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 10 ] || [ $(python -c "import sys; print(sys.version_info[1])") -lt 10 ]; then + echo -e "Python 3.10 or higher is required to run this bot." >&2 exit 1 fi # check if any of ffmpeg, mediainfo, neofetch, git is not installed @@ -63,11 +63,11 @@ check_dependencies() { else echo -e "Unknown OS. Checking if dependecies are installed" >&2 if ! [ -x "$(command -v python3)" ] || ! [ -x "$(command -v python)" ]; then - echo -e "Python3 isn't installed. Please install python3.8 or higher to run this bot." >&2 + echo -e "Python3 isn't installed. Please install python3.10 or higher to run this bot." >&2 exit 1 fi - if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 8 ] || [ $(python -c "import sys; print(sys.version_info[1])") -lt 8 ]; then - echo -e "Python 3.8 or higher is required to run this bot." >&2 + if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 10 ] || [ $(python -c "import sys; print(sys.version_info[1])") -lt 10 ]; then + echo -e "Python 3.10 or higher is required to run this bot." >&2 exit 1 fi if ! command -v ffmpeg &>/dev/null || ! command -v mediainfo &>/dev/null || ! command -v neofetch &>/dev/null || ! command -v git &>/dev/null; then @@ -80,18 +80,18 @@ check_dependencies() { check_python() { # check if python is installed if ! command -v python3 &>/dev/null; then - echo -e "Python3 isn't installed. Please install python3.8 or higher to run this bot." + echo -e "Python3 isn't installed. Please install python3.10 or higher to run this bot." exit 1 elif ! command -v python &>/dev/null; then - echo -e "Python3 isn't installed. Please install python3.8 or higher to run this bot." + echo -e "Python3 isn't installed. Please install python3.10 or higher to run this bot." exit 1 fi - if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 8 ]; then - echo -e "Python 3.8 or higher is required to run this bot." + if [ $(python3 -c "import sys; print(sys.version_info[1])") -lt 10 ]; then + echo -e "Python 3.10 or higher is required to run this bot." exit 1 elif [ $(python -c "import sys; print(sys.version_info[1])") -lt 3 ]; then - if [ $(python -c "import sys; print(sys.version_info[1])") -lt 8 ]; then - echo -e "Python 3.8 or higher is required to run this bot." + if [ $(python -c "import sys; print(sys.version_info[1])") -lt 10 ]; then + echo -e "Python 3.10 or higher is required to run this bot." exit 1 fi fi diff --git a/plugins/__init__.py b/plugins/__init__.py index 82ef3187a4..41b26eb0aa 100644 --- a/plugins/__init__.py +++ b/plugins/__init__.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/_chatactions.py b/plugins/_chatactions.py index 3ae1c90111..cc7b3e018c 100644 --- a/plugins/_chatactions.py +++ b/plugins/_chatactions.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/_help.py b/plugins/_help.py index 1f7d4e6e52..4bcbb44961 100644 --- a/plugins/_help.py +++ b/plugins/_help.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/_inline.py b/plugins/_inline.py index 211e723ffe..93321f1ef2 100644 --- a/plugins/_inline.py +++ b/plugins/_inline.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/_ultroid.py b/plugins/_ultroid.py index 3d7261a3e7..afe3cf8a72 100644 --- a/plugins/_ultroid.py +++ b/plugins/_ultroid.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/_userlogs.py b/plugins/_userlogs.py index 876718001f..cc6470ce0d 100644 --- a/plugins/_userlogs.py +++ b/plugins/_userlogs.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/_wspr.py b/plugins/_wspr.py index 462a34e696..6d717bc248 100644 --- a/plugins/_wspr.py +++ b/plugins/_wspr.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/admintools.py b/plugins/admintools.py index a6f8e63801..2e8736bb05 100644 --- a/plugins/admintools.py +++ b/plugins/admintools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/afk.py b/plugins/afk.py index 74e06eb774..8ba415078c 100644 --- a/plugins/afk.py +++ b/plugins/afk.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/aiwrapper.py b/plugins/aiwrapper.py index ee63749f58..3126457619 100644 --- a/plugins/aiwrapper.py +++ b/plugins/aiwrapper.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/antiflood.py b/plugins/antiflood.py index 3eb9d19dc0..fa90fb0d97 100644 --- a/plugins/antiflood.py +++ b/plugins/antiflood.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/asstcmd.py b/plugins/asstcmd.py index 02a9945c1c..6b365ed8cf 100644 --- a/plugins/asstcmd.py +++ b/plugins/asstcmd.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/audiotools.py b/plugins/audiotools.py index 40343bbc8c..d19cef78e4 100644 --- a/plugins/audiotools.py +++ b/plugins/audiotools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/autoban.py b/plugins/autoban.py index ab002ba64a..6eb833e078 100644 --- a/plugins/autoban.py +++ b/plugins/autoban.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/autopic.py b/plugins/autopic.py index 30a048b61f..1c9e568c9d 100644 --- a/plugins/autopic.py +++ b/plugins/autopic.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/beautify.py b/plugins/beautify.py index e8ecf61756..733c5d2da4 100644 --- a/plugins/beautify.py +++ b/plugins/beautify.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/blacklist.py b/plugins/blacklist.py index e621a37e8f..875929f834 100644 --- a/plugins/blacklist.py +++ b/plugins/blacklist.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/bot.py b/plugins/bot.py index a4febdc909..72550f5804 100644 --- a/plugins/bot.py +++ b/plugins/bot.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/broadcast.py b/plugins/broadcast.py index 4eb1d36721..5350b2aa26 100644 --- a/plugins/broadcast.py +++ b/plugins/broadcast.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/button.py b/plugins/button.py index ef1fbb2a84..a41ef0a780 100644 --- a/plugins/button.py +++ b/plugins/button.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/calculator.py b/plugins/calculator.py index 3514c2963e..5e318e6a3d 100644 --- a/plugins/calculator.py +++ b/plugins/calculator.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/channelhacks.py b/plugins/channelhacks.py index a9a8c70998..c18ead87c5 100644 --- a/plugins/channelhacks.py +++ b/plugins/channelhacks.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/chatbot.py b/plugins/chatbot.py index 00c96e03e5..0e01a9cf29 100644 --- a/plugins/chatbot.py +++ b/plugins/chatbot.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/chats.py b/plugins/chats.py index 0651cd7d72..3832650900 100644 --- a/plugins/chats.py +++ b/plugins/chats.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/cleanaction.py b/plugins/cleanaction.py index 361e094762..815b5dde81 100644 --- a/plugins/cleanaction.py +++ b/plugins/cleanaction.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/compressor.py b/plugins/compressor.py index a221d8f161..2eb7e0e01f 100644 --- a/plugins/compressor.py +++ b/plugins/compressor.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/converter.py b/plugins/converter.py index 201ff76b96..db2a8f8b5f 100644 --- a/plugins/converter.py +++ b/plugins/converter.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/core.py b/plugins/core.py index b93f659a2f..d90c221994 100644 --- a/plugins/core.py +++ b/plugins/core.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in @@ -43,7 +43,7 @@ async def unload(event): elif zym in os.listdir("plugins"): return await event.eor(get_string("core_11"), time=3) else: - await event.eor(f"**Nᴏ Pʟᴜɢɪɴ Nᴀᴍᴇᴅ** `{shortname}`", time=3) + await event.eor(f"**No Plugin Named** `{shortname}`", time=3) @ultroid_cmd( @@ -59,14 +59,14 @@ async def uninstall(event): if zym in lsd: try: un_plug(shortname) - await event.eor(f"**Uɴɪɴsᴛᴀʟʟᴇᴅ** `{shortname}` **Sᴜᴄᴄᴇssғᴜʟʟʏ.**", time=3) + await event.eor(f"**Uninstalled** `{shortname}` **successfully.**", time=3) os.remove(f"addons/{shortname}.py") except Exception as ex: return await event.eor(str(ex)) elif zym in os.listdir("plugins"): return await event.eor(get_string("core_15"), time=3) else: - return await event.eor(f"**Nᴏ Pʟᴜɢɪɴ Nᴀᴍᴇᴅ** `{shortname}`", time=3) + return await event.eor(f"**No Plugin Named** `{shortname}`", time=3) @ultroid_cmd( diff --git a/plugins/database.py b/plugins/database.py index 0e6c79e33a..83dd26b9b7 100644 --- a/plugins/database.py +++ b/plugins/database.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/devtools.py b/plugins/devtools.py index efb71c2754..f7082d8171 100644 --- a/plugins/devtools.py +++ b/plugins/devtools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/downloadupload.py b/plugins/downloadupload.py index d5f5e304f8..c27afcad80 100644 --- a/plugins/downloadupload.py +++ b/plugins/downloadupload.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/echo.py b/plugins/echo.py index bda8fff45e..b7ffc26ad4 100644 --- a/plugins/echo.py +++ b/plugins/echo.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/extra.py b/plugins/extra.py index 7fa9ac8177..ffe8555373 100644 --- a/plugins/extra.py +++ b/plugins/extra.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/fakeaction.py b/plugins/fakeaction.py index 7e88941959..6354464452 100644 --- a/plugins/fakeaction.py +++ b/plugins/fakeaction.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/fileshare.py b/plugins/fileshare.py index 62497d5813..a8b5940a95 100644 --- a/plugins/fileshare.py +++ b/plugins/fileshare.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/filter.py b/plugins/filter.py index b330769135..b5aab958b5 100644 --- a/plugins/filter.py +++ b/plugins/filter.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/fontgen.py b/plugins/fontgen.py index d686c75f1f..adb946c1e1 100644 --- a/plugins/fontgen.py +++ b/plugins/fontgen.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/forcesubscribe.py b/plugins/forcesubscribe.py index bc0a01f85f..8a37c90598 100644 --- a/plugins/forcesubscribe.py +++ b/plugins/forcesubscribe.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/gdrive.py b/plugins/gdrive.py index bafffbd293..a9ff5123d8 100644 --- a/plugins/gdrive.py +++ b/plugins/gdrive.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/giftools.py b/plugins/giftools.py index 5c8d0d2283..ba10f60a53 100644 --- a/plugins/giftools.py +++ b/plugins/giftools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/glitch.py b/plugins/glitch.py index e4ee4df41b..cd64f0d5e3 100644 --- a/plugins/glitch.py +++ b/plugins/glitch.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/globaltools.py b/plugins/globaltools.py index a81744abd9..ebce824638 100644 --- a/plugins/globaltools.py +++ b/plugins/globaltools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/greetings.py b/plugins/greetings.py index 27053eff30..ee2e62b1af 100644 --- a/plugins/greetings.py +++ b/plugins/greetings.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/imagetools.py b/plugins/imagetools.py index 22fd011823..c4dd93d60d 100644 --- a/plugins/imagetools.py +++ b/plugins/imagetools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/locks.py b/plugins/locks.py index edbdc6b48d..7f9938cb7e 100644 --- a/plugins/locks.py +++ b/plugins/locks.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/logo.py b/plugins/logo.py index 551104f6d5..9635ef96b5 100644 --- a/plugins/logo.py +++ b/plugins/logo.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/mediatools.py b/plugins/mediatools.py index 4e8667b8f5..faccbb088d 100644 --- a/plugins/mediatools.py +++ b/plugins/mediatools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/mute.py b/plugins/mute.py index cb7c3d6937..84b11f3afd 100644 --- a/plugins/mute.py +++ b/plugins/mute.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/nightmode.py b/plugins/nightmode.py index 4a0edd9a8f..1d2792d22c 100644 --- a/plugins/nightmode.py +++ b/plugins/nightmode.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/notes.py b/plugins/notes.py index 4bceefeb67..460ca97307 100644 --- a/plugins/notes.py +++ b/plugins/notes.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/nsfwfilter.py b/plugins/nsfwfilter.py index ae40d5113e..b681e3da27 100644 --- a/plugins/nsfwfilter.py +++ b/plugins/nsfwfilter.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/other.py b/plugins/other.py index affa75b67c..7928abc7da 100644 --- a/plugins/other.py +++ b/plugins/other.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/pdftools.py b/plugins/pdftools.py index 6be4c3319d..6131cc03ec 100644 --- a/plugins/pdftools.py +++ b/plugins/pdftools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/pmpermit.py b/plugins/pmpermit.py index 0d0cbf7a61..31e3af197a 100644 --- a/plugins/pmpermit.py +++ b/plugins/pmpermit.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in @@ -410,7 +410,7 @@ async def approvepm(apprvpm): if user.id in DEVLIST: return await eor( apprvpm, - "Lol, He is my Developer\nHe is auto Approved", + "This is a developer account.\nAutomatically approved.", ) if not keym.contains(user.id): keym.add(user.id) @@ -461,7 +461,7 @@ async def disapprovepm(e): if user.id in DEVLIST: return await eor( e, - "`Lol, He is my Developer\nHe Can't Be DisApproved.`", + "`This is a developer account.\nCannot be disapproved.`", ) if keym.contains(user.id): keym.remove(user.id) diff --git a/plugins/polls.py b/plugins/polls.py index 95423a684f..7ac820eab6 100644 --- a/plugins/polls.py +++ b/plugins/polls.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/profanityfilter.py b/plugins/profanityfilter.py index ccc96bbf56..c9c9b1c874 100644 --- a/plugins/profanityfilter.py +++ b/plugins/profanityfilter.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/profile.py b/plugins/profile.py index 32f9207023..32534b43f7 100644 --- a/plugins/profile.py +++ b/plugins/profile.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/qrcode.py b/plugins/qrcode.py index f31b337744..5bfdcdf82b 100644 --- a/plugins/qrcode.py +++ b/plugins/qrcode.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/resize.py b/plugins/resize.py index e346a75b69..cd77cef5ef 100644 --- a/plugins/resize.py +++ b/plugins/resize.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/schedulemsg.py b/plugins/schedulemsg.py index 5a6f0dde22..829a02e251 100644 --- a/plugins/schedulemsg.py +++ b/plugins/schedulemsg.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/search.py b/plugins/search.py index 020e08c02d..542401aa25 100644 --- a/plugins/search.py +++ b/plugins/search.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/snips.py b/plugins/snips.py index a7c7aae1f7..b77a4d1319 100644 --- a/plugins/snips.py +++ b/plugins/snips.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/specialtools.py b/plugins/specialtools.py index 52a448be76..f4b2aedb9f 100644 --- a/plugins/specialtools.py +++ b/plugins/specialtools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/stickertools.py b/plugins/stickertools.py index 95839b2da7..196a32b623 100644 --- a/plugins/stickertools.py +++ b/plugins/stickertools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/sudo.py b/plugins/sudo.py index 6d092e318c..b8e706c43e 100644 --- a/plugins/sudo.py +++ b/plugins/sudo.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/tag.py b/plugins/tag.py index 141e5feac1..03dcba65b7 100644 --- a/plugins/tag.py +++ b/plugins/tag.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/tools.py b/plugins/tools.py index 9d57810434..47d9f03d3c 100644 --- a/plugins/tools.py +++ b/plugins/tools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in @@ -33,9 +33,11 @@ • `{i}webshot ` Get a screenshot of the webpage. """ +import asyncio import glob import io import os +import re import secrets from asyncio.exceptions import TimeoutError as AsyncTimeout @@ -53,6 +55,7 @@ except ImportError: WebShot = None +from telethon import functions, types from telethon.errors.rpcerrorlist import MessageTooLongError, YouBlockedUserError from telethon.tl.types import ( ChannelParticipantAdmin, @@ -73,6 +76,7 @@ download_file, eor, get_string, + ultroid_bot, ) from . import humanbytes as hb from . import inline_mention, is_url_ok, json_parser, mediainfo, ultroid_cmd @@ -339,8 +343,12 @@ async def _(e): def sanga_seperator(sanga_list): string = "".join(info[info.find("\n") + 1 :] for info in sanga_list) string = re.sub(r"^$\n", "", string, flags=re.MULTILINE) - name, username = string.split("Usernames**") - name = name.split("Names")[1] + try: + name, username = string.split("Usernames**") + name = name.split("Names")[1] + except ValueError: + name = "No Names Found" + username = "No Usernames Found" return name, username @@ -383,8 +391,8 @@ async def sangmata(event): try: await conv.send_message(f"{userinfo.id}") except YouBlockedUserError: - await catub(unblock("SangMata_beta_bot")) - await conv.send_message(f"{userinfo.id}") + return await event.edit("`Please unblock @SangMata_beta_bot and try again`") + # await conv.send_message(f"{userinfo.id}") responses = [] while True: try: diff --git a/plugins/twitter.py b/plugins/twitter.py index 06613cee2c..e97d17f8a2 100644 --- a/plugins/twitter.py +++ b/plugins/twitter.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/unsplash.py b/plugins/unsplash.py index 4393009fe7..6f71585395 100644 --- a/plugins/unsplash.py +++ b/plugins/unsplash.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/usage.py b/plugins/usage.py index 32d6a0445d..996ae5171e 100644 --- a/plugins/usage.py +++ b/plugins/usage.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/utilities.py b/plugins/utilities.py index 20cd792a6f..b76653620e 100644 --- a/plugins/utilities.py +++ b/plugins/utilities.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in @@ -339,19 +339,19 @@ async def _(event): dc_id = user.photo.dc_id else: dc_id = "Need a Profile Picture to check this" - caption = """Exᴛʀᴀᴄᴛᴇᴅ Dᴀᴛᴀ Fʀᴏᴍ Tᴇʟᴇɢʀᴀᴍ's Dᴀᴛᴀʙᴀsᴇ -••Tᴇʟᴇɢʀᴀᴍ ID: {} -••Pᴇʀᴍᴀɴᴇɴᴛ Lɪɴᴋ: Click Here -••Fɪʀsᴛ Nᴀᴍᴇ: {} -••Sᴇᴄᴏɴᴅ Nᴀᴍᴇ: {} -••Bɪᴏ: {} -••Dᴄ ID: {} -••Nᴏ. Oғ PғPs : {} -••Is Rᴇsᴛʀɪᴄᴛᴇᴅ: {} -••Vᴇʀɪғɪᴇᴅ: {} -••Is Pʀᴇᴍɪᴜᴍ: {} -••Is A Bᴏᴛ: {} -••Gʀᴏᴜᴘs Iɴ Cᴏᴍᴍᴏɴ: {} + caption = """Extracted Data From Telegram's Database +• Telegram ID: {} +• Permanent Link: Click Here +• First Name: {} +• Last Name: {} +• Bio: {} +• DC ID: {} +• Number of Profile Pictures: {} +• Is Restricted: {} +• Verified: {} +• Is Premium: {} +• Is A Bot: {} +• Groups In Common: {} """.format( user_id, user_id, diff --git a/plugins/variables.py b/plugins/variables.py index 5c4bb79090..2163c38d26 100644 --- a/plugins/variables.py +++ b/plugins/variables.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/vctools.py b/plugins/vctools.py index f7bd69d482..376ae3db00 100644 --- a/plugins/vctools.py +++ b/plugins/vctools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/videotools.py b/plugins/videotools.py index b25081bd88..7df53ba44f 100644 --- a/plugins/videotools.py +++ b/plugins/videotools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/warn.py b/plugins/warn.py index 8d3a52562c..338d6c8a8c 100644 --- a/plugins/warn.py +++ b/plugins/warn.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/webupload.py b/plugins/webupload.py index d319fa277a..1e662ca1f2 100644 --- a/plugins/webupload.py +++ b/plugins/webupload.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/words.py b/plugins/words.py index 22e5f8d73f..16a54ab2a1 100644 --- a/plugins/words.py +++ b/plugins/words.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/writer.py b/plugins/writer.py index 9b9ea3d4e7..6ec314d97d 100644 --- a/plugins/writer.py +++ b/plugins/writer.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/youtube.py b/plugins/youtube.py index fc129c0d48..31418c43e8 100644 --- a/plugins/youtube.py +++ b/plugins/youtube.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/plugins/ziptools.py b/plugins/ziptools.py index ab2674c191..c8d69d803b 100644 --- a/plugins/ziptools.py +++ b/plugins/ziptools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/__init__.py b/pyUltroid/__init__.py index c20629b7f1..a6d8267e60 100644 --- a/pyUltroid/__init__.py +++ b/pyUltroid/__init__.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/__main__.py b/pyUltroid/__main__.py index 9de436fbbd..e87d368e47 100644 --- a/pyUltroid/__main__.py +++ b/pyUltroid/__main__.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/_misc/__init__.py b/pyUltroid/_misc/__init__.py index e144459931..771e973ba7 100644 --- a/pyUltroid/_misc/__init__.py +++ b/pyUltroid/_misc/__init__.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/_misc/_assistant.py b/pyUltroid/_misc/_assistant.py index bdc02b21f9..af3c2f8821 100644 --- a/pyUltroid/_misc/_assistant.py +++ b/pyUltroid/_misc/_assistant.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/_misc/_decorators.py b/pyUltroid/_misc/_decorators.py index af3f8b020d..5594f93cdf 100644 --- a/pyUltroid/_misc/_decorators.py +++ b/pyUltroid/_misc/_decorators.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/_misc/_supporter.py b/pyUltroid/_misc/_supporter.py index 1be92f7f29..cf22e7b298 100644 --- a/pyUltroid/_misc/_supporter.py +++ b/pyUltroid/_misc/_supporter.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/_misc/_wrappers.py b/pyUltroid/_misc/_wrappers.py index 6625ec4d84..6abc29a869 100644 --- a/pyUltroid/_misc/_wrappers.py +++ b/pyUltroid/_misc/_wrappers.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/configs.py b/pyUltroid/configs.py index ddf6f05a71..5677e1685b 100644 --- a/pyUltroid/configs.py +++ b/pyUltroid/configs.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/_core.py b/pyUltroid/dB/_core.py index de1c3cdfc2..d268941c50 100644 --- a/pyUltroid/dB/_core.py +++ b/pyUltroid/dB/_core.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/afk_db.py b/pyUltroid/dB/afk_db.py index e6da109fd9..a0cfdb6f3d 100644 --- a/pyUltroid/dB/afk_db.py +++ b/pyUltroid/dB/afk_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/antiflood_db.py b/pyUltroid/dB/antiflood_db.py index 7c68d25f2a..a67986ceab 100644 --- a/pyUltroid/dB/antiflood_db.py +++ b/pyUltroid/dB/antiflood_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/asstcmd_db.py b/pyUltroid/dB/asstcmd_db.py index 9faa4f9cd2..38df94a80c 100644 --- a/pyUltroid/dB/asstcmd_db.py +++ b/pyUltroid/dB/asstcmd_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/blacklist_db.py b/pyUltroid/dB/blacklist_db.py index f7d9d24098..3620b0197f 100644 --- a/pyUltroid/dB/blacklist_db.py +++ b/pyUltroid/dB/blacklist_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/botchat_db.py b/pyUltroid/dB/botchat_db.py index 56d7c6f367..9b4b07f0b9 100644 --- a/pyUltroid/dB/botchat_db.py +++ b/pyUltroid/dB/botchat_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/echo_db.py b/pyUltroid/dB/echo_db.py index 638a64ae49..e13774afae 100644 --- a/pyUltroid/dB/echo_db.py +++ b/pyUltroid/dB/echo_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/filestore_db.py b/pyUltroid/dB/filestore_db.py index 90ed5de099..a6c1a7764c 100644 --- a/pyUltroid/dB/filestore_db.py +++ b/pyUltroid/dB/filestore_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/filter_db.py b/pyUltroid/dB/filter_db.py index f70772affa..ea8d3f40c4 100644 --- a/pyUltroid/dB/filter_db.py +++ b/pyUltroid/dB/filter_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/forcesub_db.py b/pyUltroid/dB/forcesub_db.py index 10b271543d..77bc3c167a 100644 --- a/pyUltroid/dB/forcesub_db.py +++ b/pyUltroid/dB/forcesub_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/gban_mute_db.py b/pyUltroid/dB/gban_mute_db.py index 0cd8a8dc99..50a14cca32 100644 --- a/pyUltroid/dB/gban_mute_db.py +++ b/pyUltroid/dB/gban_mute_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/greetings_db.py b/pyUltroid/dB/greetings_db.py index 37d3bf6d45..89c7e43ff2 100644 --- a/pyUltroid/dB/greetings_db.py +++ b/pyUltroid/dB/greetings_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/mute_db.py b/pyUltroid/dB/mute_db.py index 1390d1c60c..7f838a793c 100644 --- a/pyUltroid/dB/mute_db.py +++ b/pyUltroid/dB/mute_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/notes_db.py b/pyUltroid/dB/notes_db.py index a2443dbb00..0518411e5d 100644 --- a/pyUltroid/dB/notes_db.py +++ b/pyUltroid/dB/notes_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/nsfw_db.py b/pyUltroid/dB/nsfw_db.py index 9a157da368..8fe3714dce 100644 --- a/pyUltroid/dB/nsfw_db.py +++ b/pyUltroid/dB/nsfw_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/snips_db.py b/pyUltroid/dB/snips_db.py index 1d945f72c6..090437a8c6 100644 --- a/pyUltroid/dB/snips_db.py +++ b/pyUltroid/dB/snips_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/vc_sudos.py b/pyUltroid/dB/vc_sudos.py index 1eb3c8baca..900d736052 100644 --- a/pyUltroid/dB/vc_sudos.py +++ b/pyUltroid/dB/vc_sudos.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/dB/warn_db.py b/pyUltroid/dB/warn_db.py index 622f986435..abb2b0f002 100644 --- a/pyUltroid/dB/warn_db.py +++ b/pyUltroid/dB/warn_db.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/exceptions.py b/pyUltroid/exceptions.py index bdba015f0e..8e3e98712d 100644 --- a/pyUltroid/exceptions.py +++ b/pyUltroid/exceptions.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/fns/FastTelethon.py b/pyUltroid/fns/FastTelethon.py index d400a20b45..fe6524a617 100644 --- a/pyUltroid/fns/FastTelethon.py +++ b/pyUltroid/fns/FastTelethon.py @@ -1,5 +1,5 @@ # copied from https://github.com/tulir/mautrix-telegram/blob/master/mautrix_telegram/util/parallel_file_transfer.py -# Copyright (C) 2021-2025 Tulir Asokan +# Copyright (C) 2021-2026 Tulir Asokan import asyncio import hashlib diff --git a/pyUltroid/fns/__init__.py b/pyUltroid/fns/__init__.py index 390aec9a64..4e761a87af 100644 --- a/pyUltroid/fns/__init__.py +++ b/pyUltroid/fns/__init__.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/fns/admins.py b/pyUltroid/fns/admins.py index eb9551bae2..771c1be9bb 100644 --- a/pyUltroid/fns/admins.py +++ b/pyUltroid/fns/admins.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/fns/gDrive.py b/pyUltroid/fns/gDrive.py index a9a6eeba17..1c50d83f9f 100644 --- a/pyUltroid/fns/gDrive.py +++ b/pyUltroid/fns/gDrive.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/fns/helper.py b/pyUltroid/fns/helper.py index 105208bd13..c51ab80e22 100644 --- a/pyUltroid/fns/helper.py +++ b/pyUltroid/fns/helper.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/fns/info.py b/pyUltroid/fns/info.py index 326f680dfb..7a94422556 100644 --- a/pyUltroid/fns/info.py +++ b/pyUltroid/fns/info.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/fns/misc.py b/pyUltroid/fns/misc.py index 85369b1b60..ec6068d7aa 100644 --- a/pyUltroid/fns/misc.py +++ b/pyUltroid/fns/misc.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/fns/tools.py b/pyUltroid/fns/tools.py index daceef3670..b1f75831bb 100644 --- a/pyUltroid/fns/tools.py +++ b/pyUltroid/fns/tools.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/fns/ytdl.py b/pyUltroid/fns/ytdl.py index c4d97d107d..cb1687383d 100644 --- a/pyUltroid/fns/ytdl.py +++ b/pyUltroid/fns/ytdl.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/loader.py b/pyUltroid/loader.py index a5b4c52580..f508501195 100644 --- a/pyUltroid/loader.py +++ b/pyUltroid/loader.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/startup/BaseClient.py b/pyUltroid/startup/BaseClient.py index 603121b52e..23b451afe8 100644 --- a/pyUltroid/startup/BaseClient.py +++ b/pyUltroid/startup/BaseClient.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/startup/__init__.py b/pyUltroid/startup/__init__.py index 8d8063a535..0c0e1459c7 100644 --- a/pyUltroid/startup/__init__.py +++ b/pyUltroid/startup/__init__.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/startup/_database.py b/pyUltroid/startup/_database.py index f7bc274524..2611a5c32d 100644 --- a/pyUltroid/startup/_database.py +++ b/pyUltroid/startup/_database.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/startup/_extra.py b/pyUltroid/startup/_extra.py index e71907f841..30c6376b40 100644 --- a/pyUltroid/startup/_extra.py +++ b/pyUltroid/startup/_extra.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/startup/connections.py b/pyUltroid/startup/connections.py index 005f199218..8a1f340633 100644 --- a/pyUltroid/startup/connections.py +++ b/pyUltroid/startup/connections.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/startup/funcs.py b/pyUltroid/startup/funcs.py index f5338fa709..39ca973d45 100644 --- a/pyUltroid/startup/funcs.py +++ b/pyUltroid/startup/funcs.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in @@ -338,7 +338,7 @@ async def customize(): chat_id = udB.get_key("LOG_CHANNEL") if asst.me.photo: return - LOGS.info("Customising Ur Assistant Bot in @BOTFATHER") + LOGS.info("Customising Your Assistant Bot in @BOTFATHER") UL = f"@{asst.me.username}" if not ultroid_bot.me.username: sir = ultroid_bot.me.first_name diff --git a/pyUltroid/startup/loader.py b/pyUltroid/startup/loader.py index 5f49114a2e..6294f94ec8 100644 --- a/pyUltroid/startup/loader.py +++ b/pyUltroid/startup/loader.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/pyUltroid/startup/utils.py b/pyUltroid/startup/utils.py index 5445dbf534..49ce4aa101 100644 --- a/pyUltroid/startup/utils.py +++ b/pyUltroid/startup/utils.py @@ -1,5 +1,5 @@ # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/resources/session/session.sh b/resources/session/session.sh index bec7c794c5..8f824b9a5a 100644 --- a/resources/session/session.sh +++ b/resources/session/session.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in . diff --git a/resources/session/ssgen.py b/resources/session/ssgen.py index e3522cf150..a4cbae34a0 100644 --- a/resources/session/ssgen.py +++ b/resources/session/ssgen.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in diff --git a/resources/startup/_termux.py b/resources/startup/_termux.py index 95a6527dc6..28c7fa2ad9 100644 --- a/resources/startup/_termux.py +++ b/resources/startup/_termux.py @@ -1,6 +1,6 @@ # /usr/bin/python3 # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # Please read the GNU Affero General Public License in diff --git a/resources/startup/locals.py b/resources/startup/locals.py index 024cef3322..0d7efa9c0a 100644 --- a/resources/startup/locals.py +++ b/resources/startup/locals.py @@ -1,6 +1,6 @@ # /usr/bin/python3 # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # Please read the GNU Affero General Public License in diff --git a/sessiongen b/sessiongen index c25ce25665..36e5ac4a39 100644 --- a/sessiongen +++ b/sessiongen @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in . diff --git a/startup b/startup index f0ff9a1d9d..43e76ab670 100644 --- a/startup +++ b/startup @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Ultroid - UserBot -# Copyright (C) 2021-2025 TeamUltroid +# Copyright (C) 2021-2026 TeamUltroid # # This file is a part of < https://github.com/TeamUltroid/Ultroid/ > # PLease read the GNU Affero General Public License in . diff --git a/strings/strings/jp.yml b/strings/strings/jp.yml index b796ae1a1c..7a989a384b 100644 --- a/strings/strings/jp.yml +++ b/strings/strings/jp.yml @@ -232,7 +232,7 @@ cvt_8: "`読み取り可能なファイルではありません。` " # eventsofday eod_1: "🎊**今日のイベント** \n \n" -eod_2: "•** {} / 2021-2025のイベント** \n \n" +eod_2: "•** {} / 2021-2026のイベント** \n \n" # core core_1: "モジュールが見つかりました"