Skip to content

Commit

Permalink
Update ~start.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Badhacker98 authored Nov 14, 2024
1 parent 2ad8dc4 commit dba03ec
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Banall/modules/~start.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@
])

@app.on_message(filters.command(["start"], prefixes=[".","/","!"]) & filters.private)
async def start(_, message):
await message.reply_photo(
photo=random.choice(START_PIC),
caption=ban_txt.format(message.from_user.mention, message.from_user.id),
reply_markup=button
)

@app.on_message(filters.command(["help"], prefixes=[".","/","!"]) & filters.private)
async def start(_, message):
await message.reply_photo(
photo=random.choice(START_PIC),
Expand Down

0 comments on commit dba03ec

Please sign in to comment.