MCPcopy Create free account
hub / github.com/VJBots/VJ-AutoCaption-Bot / start_command

Function start_command

main.py:29–30  ·  view source on GitHub ↗
(bot, update)

Source from the content-addressed store, hash-verified

27
28@AutoCaptionBotV1.on_message(pyrogram.filters.private & pyrogram.filters.command(["start"]))
29def start_command(bot, update):
30 update.reply(start_message.format(update.from_user.mention), reply_markup=start_buttons(bot, update), parse_mode=pyrogram.enums.ParseMode.HTML, disable_web_page_preview=True)
31
32@AutoCaptionBotV1.on_callback_query(pyrogram.filters.regex("start"))
33def strat_callback(bot, update):

Callers

nothing calls this directly

Calls 1

start_buttonsFunction · 0.85

Tested by

no test coverage detected