Files
FileStreamBot/WebStreamer/bot/plugins/start.py

21 lines
843 B
Python
Raw Normal View History

2021-04-16 19:37:44 +05:30
# This file is a part of TG-FileStreamBot
# Coding : Jyothis Jayanth [@EverythingSuckz]
from WebStreamer.bot import StreamBot
from WebStreamer.vars import Var
from pyrogram import filters, emoji
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
@StreamBot.on_message(filters.command(['start', 'help']))
async def start(b, m):
await m.reply('Hi, Send me a file to get an instant stream link.',
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
f'{emoji.STAR} Source {emoji.STAR}',
2021-04-17 22:12:15 +05:30
url='https://github.com/EverythingSuckz/TG-FileStreamBot'
2021-04-16 19:37:44 +05:30
)
]
]
))