From 8460508dafd4b6814635fbafe4e4e7c1f4e2f66a Mon Sep 17 00:00:00 2001 From: Bibo-Joshi Date: Wed, 17 Feb 2021 12:00:18 +0100 Subject: [PATCH] Updated Code snippets (markdown) --- Code-snippets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code-snippets.md b/Code-snippets.md index 56075e4..3eadbfd 100644 --- a/Code-snippets.md +++ b/Code-snippets.md @@ -476,7 +476,7 @@ slot_machine_value = { ```python def add_group(update: Update, context: CallbackContext): for member in update.message.new_chat_members: - update.message.reply_text("{member.full_name} just joined the group") + update.message.reply_text(f"{member.full_name} just joined the group") add_group_handle = MessageHandler(Filters.status_update.new_chat_members, add_group) dispatcher.add_handler(add_group_handle)