refactor: extract userbot to standalone repo, add as git submodule
Deploy to Server / deploy (push) Has been cancelled

userbot now lives at ssh://git@gitssh.forust.xyz:2221/forust/userbot.git
and is included in homelab as a submodule at userbot/
This commit is contained in:
forust committed 2026-06-19 15:39:00 +02:00
1 parent 227e5fda27
commit 3c383db9a7
134 files changed
+4 -15257

No files matched your search

-14
View File
@@ -1,14 +0,0 @@
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.')