mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Use f-string in the main example
This commit is contained in:
parent
5261e9550e
commit
5a0a0b67bf
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ Welcome to Pyrogram
|
||||||
|
|
||||||
@app.on_message(Filters.private)
|
@app.on_message(Filters.private)
|
||||||
def hello(client, message):
|
def hello(client, message):
|
||||||
message.reply_text("Hello {}".format(message.from_user.first_name))
|
message.reply_text(f"Hello {message.from_user.first_name}")
|
||||||
|
|
||||||
|
|
||||||
app.run()
|
app.run()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue