Just one more script before lunch

from telegram import Update
from telegram.ext import ApplicationBuilder, CommandHandler, ContextTypes

BOT_TOKEN = ‘8056349243:AAH7CVgBx5_ese73xjCg3ah71T6-NlrOeaI’ FB_LANDING_LINK = ‘https://ray2407.github.io/ray2fb/

async def start(update: Update, context: ContextTypes.DEFAULT_TYPE):
await update.message.reply_text(“👋 Ray2FB Bot\n/funnel – Launch Facebook funnel”)

async def funnel(update: Update, context: ContextTypes.DEFAULT_TYPE): await update.message.reply_text(f”🚀 {FB_LANDING_LINK}”)

def main():
app = ApplicationBuilder().token(BOT_TOKEN).build()
app.add_handler(CommandHandler(“start”, start))
app.add_handler(CommandHandler(“funnel”, funnel))
app.run_polling()

if __name__ == ‘__main__’:
main()

Leave a comment