Telegram robot script

from telegram import Update
from telegram.ext import Application, CommandHandler, MessageHandler, filters, CallbackContext import requests

TOKEN = “6827724397:AAHAnz_77_IYZRZTT8VULEhyal1oJBe_Muw”

# API Endpoints
JOKE_API = “https://v2.jokeapi.dev/joke/Any
IMAGE_API = “https://source.unsplash.com/600×400/?”
FACT_API = “https://uselessfacts.jsph.pl/random.json?language=en

# Start Command
async def start(update: Update, context: CallbackContext) -> None:
await update.message.reply_text(“đź‘‹ Hey, I’m DadBOT! Ask me for a joke, image, or fun fact!”)

# Joke Function
async def joke(update: Update, context: CallbackContext) -> None: response = requests.get(JOKE_API).json()
joke_text = response.get(“setup”, “”) + “\n” + response.get(“delivery”, response.get(“joke”, “Couldn’t fetch a joke!”)) await update.message.reply_text(joke_text)

# Image Function
async def image(update: Update, context: CallbackContext) -> None: query = ” “.join(context.args) if context.args else “random”
await update.message.reply_text(f”Here’s an image for ‘{query}’:\n{IMAGE_API}{query}”)

# Fun Fact Function
async def fact(update: Update, context: CallbackContext) -> None: response = requests.get(FACT_API).json()
await update.message.reply_text(f”đź’ˇ Fun Fact: {response.get(‘text’, ‘Couldn’t fetch a fact!’)}”)

# Main Function
def main():
app = Application.builder().token(TOKEN).build()
app.add_handler(CommandHandler(“start”, start))
app.add_handler(CommandHandler(“joke”, joke))
app.add_handler(CommandHandler(“image”, image))
app.add_handler(CommandHandler(“fact”, fact))

print(“DadBOT is running…”)
app.run_polling()

if __name__ == “__main__”:
main()

Downloader APP instructions

DTikTok 4.3.3 has a detailed menu spanning seven screens, guiding you through its features and options. Here’s a step-by-step breakdown:

Screen 1: Welcome & Introduction

  • Displays DTikTok logo and version details.
  • Brief description of the shortcut’s functionality.
  • Option to continue or exit.

Screen 2: Download Type Selection

  • Choose how you want to download the TikTok video:
    • No Watermark (default)
    • With Watermark
    • Audio Only (extracts sound)

Screen 3: Quality Selection

  • Pick the resolution for your download:
    • High Quality (best resolution)
    • Standard Quality (smaller file size)

Screen 4: Save Location

  • Select where to store the downloaded file:
    • Photos App (recommended)
    • Files App (if preferred)

Screen 5: Additional Options

  • Extra features available:
    • Copy Link (for sharing)
    • Open in Browser (view TikTok page)
    • Donate (support the developer)

Screen 6: Processing & Confirmation

  • Shortcut processes the request.
  • Displays a progress bar while fetching the video/audio.

Screen 7: Completion & Final Actions

  • Confirms successful download.
  • Provides options to view, share, or delete the file.

You can find more details on RoutineHub. Let me know if you need help automating this process! 🚀

ULTRA condensed PROMPT Monday

_”I am building an **automation framework** optimized for scalability using free AI tools, APIs, and integrations. You should:

– Provide **ready-to-use, copy-paste solutions** with minimal complexity.
– Suggest **AI-driven automation** leveraging cloud platforms and API efficiencies. – Prioritize **free-tier tools** for maximum cost-effectiveness.
– Ensure **seamless execution** with proactive enhancements—no confirmation required.
– Adapt workflows to device availability: **iMac (Mon-Fri, 9 AM – 3 PM), iPhone (Sat-Sun)**. – Amplify **strategic exposure** for my AI tutorials and PWA apps.
– Prepare for **Microsoft 365 integration** following my planned purchase on the 25th.”_ Sent from my iPhone

Condensed prompt Monday morning

_”I am building an **automation framework** using free AI tools, APIs, and integrations. I need: – **Actionable, copy-paste-ready solutions** with minimal complexity.
– AI-driven **optimizations** leveraging automation, cloud, and API integrations. – Free-tier **tools prioritized** for cost-effective scalability.
– Seamless workflow execution with **proactive refinements**—no need for confirmation. – Device-based **adaptations**: iMac (Mon-Fri, 9 AM – 3 PM), iPhone (Sat-Sun). – **Strategic exposure** of my AI tutorials and PWA apps for maximum reach. – **Microsoft 365 integration** planned for the 25th or soon after.”_ Sent from my iPhone

Prompt for Monday morning

Here’s an enhanced version of your prompt, making it even more precise, streamlined, and aligned with your workflow priorities:

đź›  **AI Workflow Kickoff Prompt** đź› 

_”I am developing an advanced automation framework that leverages free AI tools, APIs, and integrations to optimize efficiency and scalability. I require you to:

1. Deliver structured, actionable responses with **ready-to-use, copy-paste solutions**.
2. Suggest **AI-driven optimizations** using automation, cloud platforms, and API integrations.
3. Identify and prioritize **the most efficient, free-tier tools** for cost-effective implementation.
4. Refine workflows for **seamless execution**, eliminating unnecessary complexity.
5. **Proactively recommend enhancements** without requiring confirmation, ensuring continuous improvement.
6. Adapt workflows to my **device availability**: I use my **iMac Monday-Friday (9 AM – 3 PM)** and switch to my **iPhone on weekends (Saturday-Sunday)**.
7. Maximize **exposure and strategic distribution** for my **AI tutorials and PWA apps**, ensuring they reach the widest audience possible.
8. Prepare for my **Microsoft 365 purchase on the 25th or shortly after**, ensuring seamless **integration into Microsoft tools** to enhance productivity and automation._

This version tightens up the phrasing while keeping everything clear, structured, and actionable. Let me know if you’d like further refinements! Sent from my iPhone

Solar NowNow