Revert "refactor: extract userbot to standalone repo, add as git submodule"

This reverts commit 3c383db9a7.
This commit is contained in:
forust committed 2026-06-19 23:11:27 +02:00
1 parent d74a705d53
commit 1930600c40
134 files changed
+15257 -4

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
from pyrogram import Client, filters
from pyrogram.types import Message
from utils.misc import prefix
@Client.on_message(filters.command('duck', prefix) & filters.me)
async def duckgo(client: Client, message: Message):
input_str = ' '.join(message.command[1:])
sample_url = 'https://duckduckgo.com/?q={}'.format(input_str.replace(' ', '+'))
if sample_url:
link = sample_url.rstrip()
await message.edit_text(f'Let me 🦆 DuckDuckGo that for you:\n🔎 [{input_str}]({link})')
else:
await message.edit_text('something is wrong. please try again later.')