diff --git a/.gitignore b/.gitignore
index 794eba8..ce5d8ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,7 @@ target/npmlist.json
package-lock.json
ultroid.json
resources/extras/thumbnail.jpg
+resources/auth/
# Directories
addons/
diff --git a/Dockerfile b/Dockerfile
index ada30cb..813c1cb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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/__init__.py b/assistant/__init__.py
index cba67e1..2a2a775 100644
--- a/assistant/__init__.py
+++ b/assistant/__init__.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 3cdd332..0495c82 100644
--- a/assistant/callbackstuffs.py
+++ b/assistant/callbackstuffs.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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/games.py b/assistant/games.py
index 85ea88e..fef75c0 100644
--- a/assistant/games.py
+++ b/assistant/games.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2024 TeamUltroid
+# Copyright (C) 2021-2025 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
@@ -15,6 +15,7 @@
import asyncio
import re
+from random import choice, shuffle
from akipy.async_akipy import Akinator, akipyLOGS
from telethon.errors.rpcerrorlist import BotMethodInvalidError
diff --git a/assistant/initial.py b/assistant/initial.py
index eb57a03..c126bbc 100644
--- a/assistant/initial.py
+++ b/assistant/initial.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 16a45f5..ae097f1 100644
--- a/assistant/inlinestuff.py
+++ b/assistant/inlinestuff.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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/localization.py b/assistant/localization.py
index 0fc8538..9f1c18a 100644
--- a/assistant/localization.py
+++ b/assistant/localization.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 69b4906..ca0dfd6 100644
--- a/assistant/manager/__init__.py
+++ b/assistant/manager/__init__.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f071301..bd3fe06 100644
--- a/assistant/manager/_help.py
+++ b/assistant/manager/_help.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 c54cf14..d788f37 100644
--- a/assistant/manager/_on_adds.py
+++ b/assistant/manager/_on_adds.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 168e14e..d8b8965 100644
--- a/assistant/manager/admins.py
+++ b/assistant/manager/admins.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 ceb45a3..505a81d 100644
--- a/assistant/manager/afk.py
+++ b/assistant/manager/afk.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 093c9c7..0133df8 100644
--- a/assistant/manager/misc.py
+++ b/assistant/manager/misc.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 18529bb..1d8e5fe 100644
--- a/assistant/manager/stickermanager.py
+++ b/assistant/manager/stickermanager.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 316f8ea..961c295 100644
--- a/assistant/pmbot.py
+++ b/assistant/pmbot.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 c8dcb3c..3dd246d 100644
--- a/assistant/start.py
+++ b/assistant/start.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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/ytdl.py b/assistant/ytdl.py
index 9a65b37..1099690 100644
--- a/assistant/ytdl.py
+++ b/assistant/ytdl.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 7817ddc..ee02e5b 100644
--- a/install-termux
+++ b/install-termux
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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/__init__.py b/plugins/__init__.py
index 9b98484..173db53 100644
--- a/plugins/__init__.py
+++ b/plugins/__init__.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 8f1a9d3..3ae1c90 100644
--- a/plugins/_chatactions.py
+++ b/plugins/_chatactions.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 b36101e..1f7d4e6 100644
--- a/plugins/_help.py
+++ b/plugins/_help.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 99e9aef..93cc81e 100644
--- a/plugins/_inline.py
+++ b/plugins/_inline.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 b2a3e2a..3d7261a 100644
--- a/plugins/_ultroid.py
+++ b/plugins/_ultroid.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 32a8782..8767180 100644
--- a/plugins/_userlogs.py
+++ b/plugins/_userlogs.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f46def7..462a34e 100644
--- a/plugins/_wspr.py
+++ b/plugins/_wspr.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 ffaa2d9..a6f8e63 100644
--- a/plugins/admintools.py
+++ b/plugins/admintools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 830136a..67f5d08 100644
--- a/plugins/afk.py
+++ b/plugins/afk.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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
new file mode 100644
index 0000000..c5fa34c
--- /dev/null
+++ b/plugins/aiwrapper.py
@@ -0,0 +1,396 @@
+# Ultroid - UserBot
+# Copyright (C) 2021-2025 TeamUltroid
+#
+# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
+# PLease read the GNU Affero General Public License in
+# .
+
+"""
+✘ Commands Available -
+
+• `{i}gemini `
+ Get response from Google Gemini.
+
+• `{i}antr `
+ Get response from Anthropic Claude.
+
+• `{i}gpt `
+ Get response from OpenAI GPT.
+
+• `{i}deepseek `
+ Get response from DeepSeek AI.
+
+Set custom models using:
+ • OPENAI_MODEL
+ • ANTHROPIC_MODEL
+ • GEMINI_MODEL
+ • DEEPSEEK_MODEL
+"""
+
+import json
+from . import LOGS, eor, get_string, udB, ultroid_cmd, async_searcher
+import aiohttp
+import asyncio
+
+
+ENDPOINTS = {
+ "gpt": "https://api.openai.com/v1/chat/completions",
+ "antr": "https://api.anthropic.com/v1/messages",
+ "gemini": "https://generativelanguage.googleapis.com/v1/models/gemini-pro:generateContent",
+ "deepseek": "https://api.deepseek.com/chat/completions"
+}
+
+DEFAULT_MODELS = {
+ "gpt": "gpt-3.5-turbo",
+ "antr": "claude-3-opus-20240229",
+ "gemini": "gemini-pro",
+ "deepseek": "deepseek-chat"
+}
+
+
+def get_model(provider):
+ """Get model name from database or use default"""
+ model_keys = {
+ "gpt": "OPENAI_MODEL",
+ "antr": "ANTHROPIC_MODEL",
+ "gemini": "GEMINI_MODEL",
+ "deepseek": "DEEPSEEK_MODEL"
+ }
+ return udB.get_key(model_keys[provider]) or DEFAULT_MODELS[provider]
+
+
+async def stream_response(msg, text):
+ """Stream response by editing message"""
+ current = ""
+ # Split into chunks of ~100 characters at word boundaries
+ words = text.split()
+ chunks = []
+ current_chunk = []
+
+ for word in words:
+ current_chunk.append(word)
+ if len(" ".join(current_chunk)) > 100:
+ chunks.append(" ".join(current_chunk[:-1]))
+ current_chunk = [word]
+ if current_chunk:
+ chunks.append(" ".join(current_chunk))
+
+ for chunk in chunks:
+ current += chunk + " "
+ try:
+ await msg.edit(current)
+ except Exception:
+ pass
+ await asyncio.sleep(0.5)
+ return current
+
+
+async def get_ai_response(provider, prompt, api_key, stream=False):
+ """Get response from AI provider"""
+ try:
+ headers = {"Content-Type": "application/json"}
+ model = get_model(provider)
+
+ if provider == "gpt":
+ headers["Authorization"] = f"Bearer {api_key}"
+ data = {
+ "model": model,
+ "messages": [{"role": "user", "content": prompt}],
+ "stream": stream
+ }
+ if not stream:
+ response = await async_searcher(
+ ENDPOINTS[provider],
+ headers=headers,
+ post=True,
+ json=data,
+ re_json=True
+ )
+ yield response["choices"][0]["message"]["content"]
+ return
+
+ async with aiohttp.ClientSession() as session:
+ async with session.post(
+ ENDPOINTS[provider],
+ headers=headers,
+ json=data
+ ) as resp:
+ async for line in resp.content:
+ if line:
+ try:
+ json_line = json.loads(line.decode('utf-8').strip().strip('data:').strip())
+ if 'choices' in json_line and json_line['choices']:
+ content = json_line['choices'][0].get('delta', {}).get('content', '')
+ if content:
+ yield content
+ except Exception:
+ continue
+
+ elif provider == "antr":
+ headers["x-api-key"] = api_key
+ headers["anthropic-version"] = "2023-06-01"
+ data = {
+ "model": model,
+ "messages": [{"role": "user", "content": prompt}],
+ "stream": stream
+ }
+ if not stream:
+ response = await async_searcher(
+ ENDPOINTS[provider],
+ headers=headers,
+ post=True,
+ json=data,
+ re_json=True
+ )
+ yield response["content"][0]["text"]
+ return
+
+ async with aiohttp.ClientSession() as session:
+ async with session.post(
+ ENDPOINTS[provider],
+ headers=headers,
+ json=data
+ ) as resp:
+ async for line in resp.content:
+ if line:
+ try:
+ json_line = json.loads(line.decode('utf-8').strip())
+ if 'content' in json_line:
+ content = json_line['content'][0]['text']
+ if content:
+ yield content
+ except Exception:
+ continue
+
+ elif provider == "gemini":
+ params = {"key": api_key}
+ data = {
+ "contents": [{
+ "parts": [{"text": prompt}]
+ }]
+ }
+ response = await async_searcher(
+ ENDPOINTS[provider],
+ params=params,
+ headers=headers,
+ post=True,
+ json=data,
+ re_json=True
+ )
+ text = response["candidates"][0]["content"]["parts"][0]["text"]
+ if not stream:
+ yield text
+ return
+
+ # Simulate streaming by yielding chunks
+ words = text.split()
+ buffer = []
+ for word in words:
+ buffer.append(word)
+ if len(' '.join(buffer)) > 20: # Adjust chunk size as needed
+ yield ' '.join(buffer) + ' '
+ buffer = []
+ if buffer:
+ yield ' '.join(buffer)
+
+ elif provider == "deepseek":
+ headers["Authorization"] = f"Bearer {api_key}"
+ data = {
+ "model": model,
+ "messages": [{"role": "user", "content": prompt}],
+ "stream": stream
+ }
+ if not stream:
+ response = await async_searcher(
+ ENDPOINTS[provider],
+ headers=headers,
+ post=True,
+ json=data,
+ re_json=True
+ )
+ yield response["choices"][0]["message"]["content"]
+ return
+
+ async with aiohttp.ClientSession() as session:
+ async with session.post(
+ ENDPOINTS[provider],
+ headers=headers,
+ json=data
+ ) as resp:
+ async for line in resp.content:
+ if line:
+ try:
+ json_line = json.loads(line.decode('utf-8').strip())
+ if 'choices' in json_line and json_line['choices']:
+ content = json_line['choices'][0].get('delta', {}).get('content', '')
+ if content:
+ yield content
+ except Exception:
+ continue
+
+ except Exception as e:
+ LOGS.exception(e)
+ yield f"Error: {str(e)}"
+
+
+@ultroid_cmd(pattern="gemini( (.*)|$)")
+async def gemini_ai(event):
+ """Use Google Gemini"""
+ prompt = event.pattern_match.group(1).strip()
+ if not prompt:
+ return await event.eor("❌ Please provide a prompt!")
+
+ api_key = udB.get_key("GEMINI_API_KEY")
+ if not api_key:
+ return await event.eor("⚠️ Please set Gemini API key using `setdb GEMINI_API_KEY your_api_key`")
+
+ msg = await event.eor("🤔 Thinking...")
+ model = get_model("gemini")
+
+ header = (
+ "🤖 **Google Gemini**\n"
+ f"**Model:** `{model}`\n"
+ "➖➖➖➖➖➖➖➖➖➖\n\n"
+ f"**🔍 Prompt:**\n{prompt}\n\n"
+ "**💡 Response:**\n"
+ )
+
+ if event.client.me.bot:
+ await msg.edit(header)
+ response = ""
+ async for chunk in get_ai_response("gemini", prompt, api_key, stream=True):
+ response += chunk
+ try:
+ await msg.edit(header + response)
+ except Exception:
+ pass
+ else:
+ response = ""
+ async for chunk in get_ai_response("gemini", prompt, api_key, stream=True):
+ response += chunk
+ try:
+ await msg.edit(header + response)
+ except Exception:
+ pass
+
+@ultroid_cmd(pattern="antr( (.*)|$)")
+async def anthropic_ai(event):
+ """Use Anthropic Claude"""
+ prompt = event.pattern_match.group(1).strip()
+ if not prompt:
+ return await event.eor("❌ Please provide a prompt!")
+
+ api_key = udB.get_key("ANTHROPIC_KEY")
+ if not api_key:
+ return await event.eor("⚠️ Please set Anthropic API key using `setdb ANTHROPIC_KEY your_api_key`")
+
+ msg = await event.eor("🤔 Thinking...")
+ model = get_model("antr")
+
+ formatted_response = (
+ "🧠 **Anthropic Claude**\n"
+ f"**Model:** `{model}`\n"
+ "➖➖➖➖➖➖➖➖➖➖\n\n"
+ f"**🔍 Prompt:**\n{prompt}\n\n"
+ f"**💡 Response:**\n"
+ )
+
+ if event.client.me.bot:
+ await msg.edit(formatted_response)
+ response = ""
+ async for chunk in get_ai_response("antr", prompt, api_key, stream=True):
+ response += chunk
+ try:
+ await msg.edit(formatted_response + response)
+ except Exception:
+ pass
+ else:
+ response = ""
+ async for chunk in get_ai_response("antr", prompt, api_key, stream=True):
+ response += chunk
+ try:
+ await msg.edit(formatted_response + response)
+ except Exception:
+ pass
+
+@ultroid_cmd(pattern="gpt( (.*)|$)")
+async def openai_ai(event):
+ """Use OpenAI GPT"""
+ prompt = event.pattern_match.group(1).strip()
+ if not prompt:
+ return await event.eor("❌ Please provide a prompt!")
+
+ api_key = udB.get_key("OPENAI_API_KEY")
+ if not api_key:
+ return await event.eor("⚠️ Please set GPT API key using `setdb OPENAI_API_KEY your_api_key`")
+
+ msg = await event.eor("🤔 Thinking...")
+ model = get_model("gpt")
+
+ header = (
+ "🌟 **OpenAI GPT**\n"
+ f"**Model:** `{model}`\n"
+ "➖➖➖➖➖➖➖➖➖➖\n\n"
+ f"**🔍 Prompt:**\n{prompt}\n\n"
+ "**💡 Response:**\n"
+ )
+
+ if event.client.me.bot:
+ await msg.edit(header)
+ response = ""
+ async for chunk in get_ai_response("gpt", prompt, api_key, stream=True):
+ response += chunk
+ try:
+ await msg.edit(header + response)
+ except Exception:
+ pass
+ else:
+ response =""
+ async for chunk in get_ai_response("gpt", prompt, api_key, stream=True):
+ response += chunk
+ try:
+ await msg.edit(header + response)
+ except Exception:
+ pass
+
+@ultroid_cmd(pattern="deepseek( (.*)|$)")
+async def deepseek_ai(event):
+ """Use DeepSeek AI"""
+ prompt = event.pattern_match.group(1).strip()
+ if not prompt:
+ return await event.eor("❌ Please provide a prompt!")
+
+ api_key = udB.get_key("DEEPSEEK_API_KEY")
+ if not api_key:
+ return await event.eor("⚠️ Please set DeepSeek API key using `setdb DEEPSEEK_API_KEY your_api_key`")
+
+ msg = await event.eor("🤔 Thinking...")
+ model = get_model("deepseek")
+
+ formatted_response = (
+ "🤖 **DeepSeek AI**\n"
+ f"**Model:** `{model}`\n"
+ "➖➖➖➖➖➖➖➖➖➖\n\n"
+ f"**🔍 Prompt:**\n{prompt}\n\n"
+ f"**💡 Response:**\n"
+ )
+
+ if event.client.me.bot:
+ await msg.edit(formatted_response)
+ response = ""
+ async for chunk in get_ai_response("deepseek", prompt, api_key, stream=True):
+ response += chunk
+ try:
+ await msg.edit(formatted_response + response)
+ except Exception:
+ pass
+ else:
+ response = ""
+ async for chunk in get_ai_response("deepseek", prompt, api_key, stream=True):
+ response += chunk
+
+ try:
+ await msg.edit(formatted_response + response)
+ except Exception:
+ pass
+
diff --git a/plugins/antiflood.py b/plugins/antiflood.py
index 82225c1..3eb9d19 100644
--- a/plugins/antiflood.py
+++ b/plugins/antiflood.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 b88446e..b84c717 100644
--- a/plugins/asstcmd.py
+++ b/plugins/asstcmd.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f8c0b52..2ae4e99 100644
--- a/plugins/audiotools.py
+++ b/plugins/audiotools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 5973232..ab002ba 100644
--- a/plugins/autoban.py
+++ b/plugins/autoban.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f6e5127..e206a98 100644
--- a/plugins/autopic.py
+++ b/plugins/autopic.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 10e100c..e8ecf61 100644
--- a/plugins/beautify.py
+++ b/plugins/beautify.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 78f2d42..e621a37 100644
--- a/plugins/blacklist.py
+++ b/plugins/blacklist.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 e5f4389..e10bd09 100644
--- a/plugins/bot.py
+++ b/plugins/bot.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f8aedf2..4eb1d36 100644
--- a/plugins/broadcast.py
+++ b/plugins/broadcast.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 b3d616d..ef61d29 100644
--- a/plugins/button.py
+++ b/plugins/button.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 28f2bae..3514c29 100644
--- a/plugins/calculator.py
+++ b/plugins/calculator.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 d333249..561517a 100644
--- a/plugins/channelhacks.py
+++ b/plugins/channelhacks.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f050be1..00c96e0 100644
--- a/plugins/chatbot.py
+++ b/plugins/chatbot.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 2ef171b..0651cd7 100644
--- a/plugins/chats.py
+++ b/plugins/chats.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 ebc6575..361e094 100644
--- a/plugins/cleanaction.py
+++ b/plugins/cleanaction.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 4161a9f..abd6d15 100644
--- a/plugins/compressor.py
+++ b/plugins/compressor.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 0ed3e36..b68dd27 100644
--- a/plugins/converter.py
+++ b/plugins/converter.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 6664fa5..b93f659 100644
--- a/plugins/core.py
+++ b/plugins/core.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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/database.py b/plugins/database.py
index 8c50ea2..0e6c79e 100644
--- a/plugins/database.py
+++ b/plugins/database.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 bc44b10..fb3f72b 100644
--- a/plugins/devtools.py
+++ b/plugins/devtools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 003da9f..d5f5e30 100644
--- a/plugins/downloadupload.py
+++ b/plugins/downloadupload.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 03c4d0e..bda8fff 100644
--- a/plugins/echo.py
+++ b/plugins/echo.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f9abda5..7fa9ac8 100644
--- a/plugins/extra.py
+++ b/plugins/extra.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 0f4b254..7e88941 100644
--- a/plugins/fakeaction.py
+++ b/plugins/fakeaction.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 430e8cd..62497d5 100644
--- a/plugins/fileshare.py
+++ b/plugins/fileshare.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 84ab593..95294b0 100644
--- a/plugins/filter.py
+++ b/plugins/filter.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 1cce172..d686c75 100644
--- a/plugins/fontgen.py
+++ b/plugins/fontgen.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 9804b28..bc0a01f 100644
--- a/plugins/forcesubscribe.py
+++ b/plugins/forcesubscribe.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 fbadce6..bafffbd 100644
--- a/plugins/gdrive.py
+++ b/plugins/gdrive.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 38fdb1f..5c8d0d2 100644
--- a/plugins/giftools.py
+++ b/plugins/giftools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 a612e95..e4ee4df 100644
--- a/plugins/glitch.py
+++ b/plugins/glitch.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 087db36..a81744a 100644
--- a/plugins/globaltools.py
+++ b/plugins/globaltools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 6254a6b..7f126e1 100644
--- a/plugins/greetings.py
+++ b/plugins/greetings.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 ef63342..a0757bc 100644
--- a/plugins/imagetools.py
+++ b/plugins/imagetools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 849c242..edbdc6b 100644
--- a/plugins/locks.py
+++ b/plugins/locks.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 92531bb..551104f 100644
--- a/plugins/logo.py
+++ b/plugins/logo.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 9177302..fd0ab43 100644
--- a/plugins/mediatools.py
+++ b/plugins/mediatools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 2939908..cb7c3d6 100644
--- a/plugins/mute.py
+++ b/plugins/mute.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 5719cd7..4a0edd9 100644
--- a/plugins/nightmode.py
+++ b/plugins/nightmode.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 38f353f..5553782 100644
--- a/plugins/notes.py
+++ b/plugins/notes.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 3bfe624..ae40d51 100644
--- a/plugins/nsfwfilter.py
+++ b/plugins/nsfwfilter.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 b781162..affa75b 100644
--- a/plugins/other.py
+++ b/plugins/other.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 e19cbc7..6be4c33 100644
--- a/plugins/pdftools.py
+++ b/plugins/pdftools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 caed12a..0d0cbf7 100644
--- a/plugins/pmpermit.py
+++ b/plugins/pmpermit.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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/polls.py b/plugins/polls.py
index 2b87532..2fb71e5 100644
--- a/plugins/polls.py
+++ b/plugins/polls.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 d7562a0..ccc96bb 100644
--- a/plugins/profanityfilter.py
+++ b/plugins/profanityfilter.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 90b85e5..32f9207 100644
--- a/plugins/profile.py
+++ b/plugins/profile.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 2e7d64b..f31b337 100644
--- a/plugins/qrcode.py
+++ b/plugins/qrcode.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f70fe31..e346a75 100644
--- a/plugins/resize.py
+++ b/plugins/resize.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 b531f02..5a6f0dd 100644
--- a/plugins/schedulemsg.py
+++ b/plugins/schedulemsg.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 3224f92..b80e34f 100644
--- a/plugins/search.py
+++ b/plugins/search.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 eba0d2d..6b11f27 100644
--- a/plugins/snips.py
+++ b/plugins/snips.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 45bd03b..6971c58 100644
--- a/plugins/specialtools.py
+++ b/plugins/specialtools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 01e7db1..95839b2 100644
--- a/plugins/stickertools.py
+++ b/plugins/stickertools.py
@@ -1,5 +1,5 @@
-# Ultroid ~ UserBot
-# Copyright (C) 2024 TeamUltroid
+# Ultroid - UserBot
+# Copyright (C) 2021-2025 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 523bbb9..6d092e3 100644
--- a/plugins/sudo.py
+++ b/plugins/sudo.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 8d1c9eb..141e5fe 100644
--- a/plugins/tag.py
+++ b/plugins/tag.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 e61831f..9d57810 100644
--- a/plugins/tools.py
+++ b/plugins/tools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
@@ -32,9 +32,6 @@
• `{i}webshot `
Get a screenshot of the webpage.
-
-• `{i}shorturl `
- shorten any url...
"""
import glob
import io
@@ -464,26 +461,3 @@ async def webss(event):
os.remove(pic)
await xx.delete()
-
-@ultroid_cmd(pattern="shorturl")
-async def magic(event):
- try:
- match = event.text.split(maxsplit=1)[1].strip()
- except IndexError:
- return await event.eor("`Provide url to turn into tiny...`")
- data = {
- "url": match.split()[0],
- "id": match[1] if len(match) > 1 else secrets.token_urlsafe(6),
- }
- data = await async_searcher(
- "https://tiny.ultroid.tech/api/new",
- data=data,
- post=True,
- re_json=True,
- )
- response = data.get("response", {})
- if not response.get("status"):
- return await event.eor(f'**ERROR :** `{response["message"]}`')
- await event.eor(
- f"• **Ultroid Tiny**\n• Given Url : {url}\n• Shorten Url : {data['response']['tinyUrl']}"
- )
diff --git a/plugins/twitter.py b/plugins/twitter.py
new file mode 100644
index 0000000..81dbe53
--- /dev/null
+++ b/plugins/twitter.py
@@ -0,0 +1,203 @@
+# Ultroid - UserBot
+# Copyright (C) 2021-2025 TeamUltroid
+#
+# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
+# PLease read the GNU Affero General Public License in
+# .
+
+"""
+✘ Commands Available -
+
+• `{i}tw `
+ Tweet the text.
+
+• `{i}twr `
+ Get tweet details with reply/quote/comment count.
+
+• `{i}twuser `
+ Get user details of the Twitter account.
+
+• `{i}twl `
+ Upload the tweet media to telegram.
+
+"""
+
+import os
+from twikit import Client
+from . import LOGS, eor, get_string, udB, ultroid_cmd
+
+# Store client globally
+twitter_client = None
+
+# Get path to cookies file
+COOKIES_FILE = "resources/auth/twitter_cookies.json"
+
+async def get_client():
+ global twitter_client
+ if twitter_client:
+ return twitter_client
+
+ if not all(udB.get_key(key) for key in ["TWITTER_USERNAME", "TWITTER_EMAIL", "TWITTER_PASSWORD"]):
+ raise Exception("Set TWITTER_USERNAME, TWITTER_EMAIL and TWITTER_PASSWORD in vars first!")
+
+ # Create auth directory if it doesn't exist
+ os.makedirs(os.path.dirname(COOKIES_FILE), exist_ok=True)
+
+ client = Client()
+ await client.login(
+ auth_info_1=udB.get_key("TWITTER_USERNAME"),
+ auth_info_2=udB.get_key("TWITTER_EMAIL"),
+ password=udB.get_key("TWITTER_PASSWORD"),
+ cookies_file=COOKIES_FILE
+ )
+ twitter_client = client
+ return client
+
+
+
+@ultroid_cmd(pattern="tw( (.*)|$)")
+async def tweet_cmd(event):
+ """Post a tweet"""
+ text = event.pattern_match.group(1).strip()
+ if not text:
+ return await event.eor("🚫 `Give some text to tweet!`")
+
+ msg = await event.eor("🕊 `Tweeting...`")
+ try:
+ client = await get_client()
+ tweet = await client.create_tweet(text=text)
+ await msg.edit(f"✨ **Successfully Posted!**\n\n🔗 https://x.com/{tweet.user.screen_name}/status/{tweet.id}")
+ except Exception as e:
+ await msg.edit(f"❌ **Error:**\n`{str(e)}`")
+
+
+@ultroid_cmd(pattern="twdetail( (.*)|$)")
+async def twitter_details(event):
+ """Get tweet details"""
+ match = event.pattern_match.group(1).strip()
+ if not match:
+ return await event.eor("🚫 `Give tweet ID/link to get details!`")
+
+ msg = await event.eor("🔍 `Getting tweet details...`")
+ try:
+ client = await get_client()
+ if "twitter.com" in match or "x.com" in match:
+ tweet_id = match.split("/")[-1].split("?")[0]
+ else:
+ tweet_id = match
+
+ tweet = await client.get_tweet_by_id(tweet_id)
+ text = "🐦 **Tweet Details**\n\n"
+ text += f"📝 **Content:** `{tweet.text}`\n\n"
+ if hasattr(tweet, "metrics"):
+ text += f"❤️ **Likes:** `{tweet.metrics.likes}`\n"
+ text += f"🔄 **Retweets:** `{tweet.metrics.retweets}`\n"
+ text += f"💬 **Replies:** `{tweet.metrics.replies}`\n"
+ text += f"👁 **Views:** `{tweet.metrics.views}`\n"
+
+ await msg.edit(text)
+ except Exception as e:
+ await msg.edit(f"❌ **Error:**\n`{str(e)}`")
+
+
+@ultroid_cmd(pattern="twuser( (.*)|$)")
+async def twitter_user(event):
+ """Get user details"""
+ match = event.pattern_match.group(1).strip()
+ if not match:
+ return await event.eor("🚫 `Give username to get details!`")
+
+ msg = await event.eor("🔍 `Getting user details...`")
+ try:
+ client = await get_client()
+ user = await client.get_user_by_screen_name(match)
+ text = "👤 **Twitter User Details**\n\n"
+ text += f"📛 **Name:** `{user.name}`\n"
+ text += f"🔖 **Username:** `@{user.screen_name}`\n"
+ text += f"📝 **Bio:** `{user.description}`\n\n"
+ text += f"👥 **Followers:** `{user.followers_count}`\n"
+ text += f"👣 **Following:** `{user.following_count}`\n"
+ text += f"🐦 **Total Tweets:** `{user.statuses_count}`\n"
+ text += f"📍 **Location:** `{user.location or 'Not Set'}`\n"
+ text += f"✅ **Verified:** `{user.verified}`\n"
+
+ if user.profile_image_url:
+ image_url = user.profile_image_url.replace("_normal.", ".")
+ await event.client.send_file(
+ event.chat_id,
+ file=image_url,
+ caption=text,
+ force_document=False
+ )
+ await msg.delete()
+ else:
+ await msg.edit(text)
+
+ except Exception as e:
+ await msg.edit(f"❌ **Error:**\n`{str(e)}`")
+
+
+@ultroid_cmd(pattern="twl( (.*)|$)")
+async def twitter_media(event):
+ """Download tweet media"""
+ match = event.pattern_match.group(1).strip()
+ if not match:
+ return await event.eor("🚫 `Give tweet link to download media!`")
+
+ msg = await event.eor("📥 `Downloading media...`")
+ try:
+ client = await get_client()
+ if "twitter.com" in match or "x.com" in match:
+ tweet_id = match.split("/")[-1].split("?")[0]
+ else:
+ tweet_id = match
+
+ tweet = await client.get_tweet_by_id(tweet_id)
+
+ if not hasattr(tweet, "media"):
+ return await msg.edit("😕 `No media found in tweet!`")
+
+ # Prepare caption with tweet text
+ caption = f"🐦 **Tweet by @{tweet.user.screen_name}**\n\n"
+ caption += f"{tweet.text}\n\n"
+ if hasattr(tweet, "metrics"):
+ caption += f"❤️ `{tweet.metrics.likes}` 🔄 `{tweet.metrics.retweets}` 💬 `{tweet.metrics.replies}`"
+
+ media_count = 0
+ for media in tweet.media:
+ if media.type == "photo":
+ await event.client.send_file(
+ event.chat_id,
+ media.url,
+ caption=caption if media_count == 0 else None # Only add caption to first media
+ )
+ media_count += 1
+ elif media.type == "video":
+ if hasattr(media, "video_info") and isinstance(media.video_info, dict):
+ variants = media.video_info.get("variants", [])
+ mp4_variants = [
+ v for v in variants
+ if v.get("content_type") == "video/mp4" and "bitrate" in v
+ ]
+ if mp4_variants:
+ best_video = max(mp4_variants, key=lambda x: x["bitrate"])
+ video_caption = caption if media_count == 0 else "" # Only add tweet text to first media
+ if video_caption:
+ video_caption += f"\n🎥 Video Quality: {best_video['bitrate']/1000:.0f}kbps"
+ else:
+ video_caption = f"🎥 Video Quality: {best_video['bitrate']/1000:.0f}kbps"
+
+ await event.client.send_file(
+ event.chat_id,
+ best_video["url"],
+ caption=video_caption
+ )
+ media_count += 1
+
+ if media_count > 0:
+ await msg.edit(f"✅ Successfully downloaded {media_count} media items!")
+ await msg.delete()
+ else:
+ await msg.edit("😕 `No media could be downloaded!`")
+ except Exception as e:
+ await msg.edit(f"❌ **Error:**\n`{str(e)}`")
diff --git a/plugins/unsplash.py b/plugins/unsplash.py
index b397496..4393009 100644
--- a/plugins/unsplash.py
+++ b/plugins/unsplash.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 86a5eac..32d6a04 100644
--- a/plugins/usage.py
+++ b/plugins/usage.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 ace1c27..11d8268 100644
--- a/plugins/utilities.py
+++ b/plugins/utilities.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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/variables.py b/plugins/variables.py
index 79d79ea..5c4bb79 100644
--- a/plugins/variables.py
+++ b/plugins/variables.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
@@ -22,7 +22,7 @@
import os
-from . import eor, get_string, udB, ultroid_cmd
+from . import eor, get_string, udB, ultroid_cmd, HNDLR
@ultroid_cmd(pattern="get($| (.*))", fullsudo=True)
diff --git a/plugins/vctools.py b/plugins/vctools.py
index 432af0b..f7bd69d 100644
--- a/plugins/vctools.py
+++ b/plugins/vctools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 508a141..b25081b 100644
--- a/plugins/videotools.py
+++ b/plugins/videotools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 7682209..8d3a525 100644
--- a/plugins/warn.py
+++ b/plugins/warn.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 9d441d5..d319fa2 100644
--- a/plugins/webupload.py
+++ b/plugins/webupload.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 66f680d..22e5f8d 100644
--- a/plugins/words.py
+++ b/plugins/words.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 e5da48d..4e9f812 100644
--- a/plugins/writer.py
+++ b/plugins/writer.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 c0eb34f..fc129c0 100644
--- a/plugins/youtube.py
+++ b/plugins/youtube.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 95e4001..c7006da 100644
--- a/plugins/ziptools.py
+++ b/plugins/ziptools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 36c7278..c20629b 100644
--- a/pyUltroid/__init__.py
+++ b/pyUltroid/__init__.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 70100e0..c4d4375 100644
--- a/pyUltroid/__main__.py
+++ b/pyUltroid/__main__.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 0efdf62..e144459 100644
--- a/pyUltroid/_misc/__init__.py
+++ b/pyUltroid/_misc/__init__.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 1ec8176..bdc02b2 100644
--- a/pyUltroid/_misc/_assistant.py
+++ b/pyUltroid/_misc/_assistant.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 4422097..94cea82 100644
--- a/pyUltroid/_misc/_decorators.py
+++ b/pyUltroid/_misc/_decorators.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f098d76..1be92f7 100644
--- a/pyUltroid/_misc/_supporter.py
+++ b/pyUltroid/_misc/_supporter.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 a1475fd..6625ec4 100644
--- a/pyUltroid/_misc/_wrappers.py
+++ b/pyUltroid/_misc/_wrappers.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 6ecf115..ddf6f05 100644
--- a/pyUltroid/configs.py
+++ b/pyUltroid/configs.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 e330e6e..de1c3cd 100644
--- a/pyUltroid/dB/_core.py
+++ b/pyUltroid/dB/_core.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 54c9c67..e6da109 100644
--- a/pyUltroid/dB/afk_db.py
+++ b/pyUltroid/dB/afk_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 5cdc7ee..7c68d25 100644
--- a/pyUltroid/dB/antiflood_db.py
+++ b/pyUltroid/dB/antiflood_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 421eac8..9faa4f9 100644
--- a/pyUltroid/dB/asstcmd_db.py
+++ b/pyUltroid/dB/asstcmd_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 c0d0e5b..f7d9d24 100644
--- a/pyUltroid/dB/blacklist_db.py
+++ b/pyUltroid/dB/blacklist_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 7b70b57..56d7c6f 100644
--- a/pyUltroid/dB/botchat_db.py
+++ b/pyUltroid/dB/botchat_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 e83e38c..638a64a 100644
--- a/pyUltroid/dB/echo_db.py
+++ b/pyUltroid/dB/echo_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 ed3db8a..90ed5de 100644
--- a/pyUltroid/dB/filestore_db.py
+++ b/pyUltroid/dB/filestore_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 a76a68e..f70772a 100644
--- a/pyUltroid/dB/filter_db.py
+++ b/pyUltroid/dB/filter_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 650d8d3..10b2715 100644
--- a/pyUltroid/dB/forcesub_db.py
+++ b/pyUltroid/dB/forcesub_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 6ab7388..0cd8a8d 100644
--- a/pyUltroid/dB/gban_mute_db.py
+++ b/pyUltroid/dB/gban_mute_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 157d269..37d3bf6 100644
--- a/pyUltroid/dB/greetings_db.py
+++ b/pyUltroid/dB/greetings_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f9d8e1f..1390d1c 100644
--- a/pyUltroid/dB/mute_db.py
+++ b/pyUltroid/dB/mute_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 68c8bde..a2443db 100644
--- a/pyUltroid/dB/notes_db.py
+++ b/pyUltroid/dB/notes_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 eb39cf4..9a157da 100644
--- a/pyUltroid/dB/nsfw_db.py
+++ b/pyUltroid/dB/nsfw_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 8443bd7..1d945f7 100644
--- a/pyUltroid/dB/snips_db.py
+++ b/pyUltroid/dB/snips_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 8535db5..1eb3c8b 100644
--- a/pyUltroid/dB/vc_sudos.py
+++ b/pyUltroid/dB/vc_sudos.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 72eae23..622f986 100644
--- a/pyUltroid/dB/warn_db.py
+++ b/pyUltroid/dB/warn_db.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 b898a41..bdba015 100644
--- a/pyUltroid/exceptions.py
+++ b/pyUltroid/exceptions.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 8aa001d..d400a20 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-2023 Tulir Asokan
+# Copyright (C) 2021-2025 Tulir Asokan
import asyncio
import hashlib
diff --git a/pyUltroid/fns/__init__.py b/pyUltroid/fns/__init__.py
index f352fdd..390aec9 100644
--- a/pyUltroid/fns/__init__.py
+++ b/pyUltroid/fns/__init__.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 9c26ced..eb9551b 100644
--- a/pyUltroid/fns/admins.py
+++ b/pyUltroid/fns/admins.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 238d371..a9a6eeb 100644
--- a/pyUltroid/fns/gDrive.py
+++ b/pyUltroid/fns/gDrive.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 16d00ea..105208b 100644
--- a/pyUltroid/fns/helper.py
+++ b/pyUltroid/fns/helper.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 ebb64b9..326f680 100644
--- a/pyUltroid/fns/info.py
+++ b/pyUltroid/fns/info.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 ffaa142..69ce9e9 100644
--- a/pyUltroid/fns/misc.py
+++ b/pyUltroid/fns/misc.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 ba24f11..6785fae 100644
--- a/pyUltroid/fns/tools.py
+++ b/pyUltroid/fns/tools.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f8c05f0..c4d97d1 100644
--- a/pyUltroid/fns/ytdl.py
+++ b/pyUltroid/fns/ytdl.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 a3aaa54..a5b4c52 100644
--- a/pyUltroid/loader.py
+++ b/pyUltroid/loader.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 609e16d..763159c 100644
--- a/pyUltroid/startup/BaseClient.py
+++ b/pyUltroid/startup/BaseClient.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 ff62baf..8d8063a 100644
--- a/pyUltroid/startup/__init__.py
+++ b/pyUltroid/startup/__init__.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 782b2ea..f7bc274 100644
--- a/pyUltroid/startup/_database.py
+++ b/pyUltroid/startup/_database.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 bb5dadd..e71907f 100644
--- a/pyUltroid/startup/_extra.py
+++ b/pyUltroid/startup/_extra.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 c848653..005f199 100644
--- a/pyUltroid/startup/connections.py
+++ b/pyUltroid/startup/connections.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 60458f9..593a880 100644
--- a/pyUltroid/startup/funcs.py
+++ b/pyUltroid/startup/funcs.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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/loader.py b/pyUltroid/startup/loader.py
index 03c87bb..5f49114 100644
--- a/pyUltroid/startup/loader.py
+++ b/pyUltroid/startup/loader.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 0472ba1..5445dbf 100644
--- a/pyUltroid/startup/utils.py
+++ b/pyUltroid/startup/utils.py
@@ -1,5 +1,5 @@
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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/version.py b/pyUltroid/version.py
index 3bf4e47..2bd0e36 100644
--- a/pyUltroid/version.py
+++ b/pyUltroid/version.py
@@ -1,2 +1,2 @@
-__version__ = "2023.02.20"
-ultroid_version = "0.9"
+__version__ = "2025.02.19"
+ultroid_version = "2.0"
diff --git a/resources/session/session.sh b/resources/session/session.sh
index bd09927..bec7c79 100644
--- a/resources/session/session.sh
+++ b/resources/session/session.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 f41260b..e3522cf 100644
--- a/resources/session/ssgen.py
+++ b/resources/session/ssgen.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 d89aee2..95a6527 100644
--- a/resources/startup/_termux.py
+++ b/resources/startup/_termux.py
@@ -1,6 +1,6 @@
# /usr/bin/python3
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 6d6fc55..94b1f68 100644
--- a/resources/startup/locals.py
+++ b/resources/startup/locals.py
@@ -1,6 +1,6 @@
# /usr/bin/python3
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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/optional-requirements.txt b/resources/startup/optional-requirements.txt
index 2876b6c..224c300 100644
--- a/resources/startup/optional-requirements.txt
+++ b/resources/startup/optional-requirements.txt
@@ -24,6 +24,7 @@ pypdf2>=1.26.0
pytz
qrcode
requests
+twikit
tabulate
telegraph
tgcrypto
diff --git a/sessiongen b/sessiongen
index b5032ac..c25ce25 100644
--- a/sessiongen
+++ b/sessiongen
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 2e25faa..4c75a10 100644
--- a/startup
+++ b/startup
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Ultroid - UserBot
-# Copyright (C) 2021-2023 TeamUltroid
+# Copyright (C) 2021-2025 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 fcd9913..b796ae1 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-2023のイベント** \n \n"
+eod_2: "•** {} / 2021-2025のイベント** \n \n"
# core
core_1: "モジュールが見つかりました"