mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Update welcome_bot.py
This commit is contained in:
parent
40b768e97c
commit
32700f8e11
@ -13,8 +13,8 @@ app = Client("my_account")
|
|||||||
def welcome(client, message):
|
def welcome(client, message):
|
||||||
new_members = ", ".join([
|
new_members = ", ".join([
|
||||||
"[{}](tg://user?id={})".format(i.first_name, i.id)
|
"[{}](tg://user?id={})".format(i.first_name, i.id)
|
||||||
for i in message.new_chat_members]
|
for i in message.new_chat_members
|
||||||
)
|
])
|
||||||
|
|
||||||
text = "{} Welcome to [Pyrogram](https://docs.pyrogram.ml/)'s group chat {}!".format(
|
text = "{} Welcome to [Pyrogram](https://docs.pyrogram.ml/)'s group chat {}!".format(
|
||||||
Emoji.SPARKLES,
|
Emoji.SPARKLES,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user