mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 15:14:52 +00:00
Update welcome_bot.py
This commit is contained in:
parent
40b768e97c
commit
32700f8e11
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue