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)