diff --git a/docs/source/index.rst b/docs/source/index.rst index 6a8ae4f5..fd227079 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -106,7 +106,7 @@ Welcome to Pyrogram @app.on_message(Filters.private) 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()